Creating/modifying multiple SQS queues with the same name doesn't fail #15429
Labels
bug
Addresses a defect in current functionality.
service/sqs
Issues and PRs that pertain to the sqs service.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
aws_sqs_queue
Terraform Configuration Files
Expected Behavior
One of the
aws_sqs_queue
resources should fail to apply.Actual Behavior
Both
aws_sqs_queue
resources are applied, only one queue is created, and if you have different attributes in theaws_sqs_queue
resources, the actual queue changea non-deterministically, depending on which resource is applied lastSteps to Reproduce
Applying the terraform code above always reproduces the issue
Important Factoids
The API documentation for SQS says that passing the same parameters of an existing queue to
CreateQueue
will just return the existing queue, but in this case even changing other parameters, but not the name, only a single queue gets created.The text was updated successfully, but these errors were encountered: