-
Notifications
You must be signed in to change notification settings - Fork 9.1k
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNS Topic delete/create failure #10473
Comments
Looking at the trace log, terraform is creating the new topic then deleting it immediately after.
|
The same problem (the same sequence of log events) still exists with
@Tirke , have you found a workaround to avoid this failure? As it looks like rerunning |
Hello @ChernikovP , Yes we wrote a script to check and repair (if needed) all our SNS topics and all our SQS subscriptions using the AWS SDK. Terraform is very buggy around SNS and SNS subscriptions. |
@Tirke Thanks for raising this issue. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Terraform Version
Terraform v0.12.10
Affected Resource(s)
Terraform Configuration Files
First config :
First file is module
Root
Second config :
Debug Output
Expected Behavior
No error on
sns_topic
creation.Actual Behavior
Steps to Reproduce
terraform apply
first config with the moduleterraform apply
-> failureImportant Factoids
Badly fixed on our side by using
depends_on
on the topic to introduce some delay.References
I have another issue on
aws_sns_topic
#9645. With this new bug, I think that this resource really need some eyes on it, it's a bit broken ATM.The text was updated successfully, but these errors were encountered: