Storage Gateway Upload Buffer creates resource but "Provider produced inconsistent apply" #12847
Labels
bug
Addresses a defect in current functionality.
service/storagegateway
Issues and PRs that pertain to the storagegateway service.
Milestone
Community Note
Terraform Version
Terraform v0.12.24
Affected Resource(s)
Terraform Configuration Files
Debug Output
Error: Provider produced inconsistent result after apply
When applying changes to
module.test_cluster.aws_storagegateway_upload_buffer.master-buffer, provider
"registry.terraform.io/-/aws" produced an unexpected new value for was
present, but now absent.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Panic Output
Expected Behavior
Apply succeeded
Actual Behavior
Master buffer was successfully created, but terraform displayed the above error. The subsequent apply yielded another error, as the disk had indeed been successfully allocated:
Error: error adding Storage Gateway upload buffer: InvalidGatewayRequestException: The specified disk is already allocated.
{
Error_: {
ErrorCode: "DiskAlreadyAllocated"
},
Message_: "The specified disk is already allocated."
}
on ../modules/storage-gateway/main.tf line 72, in resource "aws_storagegateway_upload_buffer" "master-buffer":
72: resource "aws_storagegateway_upload_buffer" "master-buffer" {
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: