You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is reported because but it seems very problematic to me if this is expected behaviour.
plan and then apply the following will give me one queue named test with 60s visibility_timeout_seconds. I expect TF would raise warning at least or bubble up errors from AWS but it's all green.
Hi @sandyleo26 - thanks for taking the time to open this issue. Unfortunately, I am not able to reproduce this behavior with the latest versions of both Terraform and the AWS Provider with the configuration you provided. With the latest version, this config gives me the following error:
Error: Error creating SQS queue: QueueAlreadyExists: A queue already exists with the same name and a different value for attribute VisibilityTimeout
We're going to go ahead and close this issue for now, but if you are still seeing this behavior when you are using the latest versions, please feel free to open another issue.
This issue was originally opened by @sandyleo26 as hashicorp/terraform#23175. It was migrated here as a result of the provider split. The original body of the issue is below.
Not sure if this is reported because but it seems very problematic to me if this is expected behaviour.
plan
and thenapply
the following will give me one queue namedtest
with 60svisibility_timeout_seconds
. I expect TF would raise warning at least or bubble up errors from AWS but it's all green.Terraform Version
Terraform Configuration Files
Expected Behavior
TF warn me the two resources actually the same.
Actual Behavior
TF proceed and overwrite the configuration. And the state file contains duplicate queues.
Steps to Reproduce
terraform init
terraform plan
terraform apply
The text was updated successfully, but these errors were encountered: