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
CW event rules should be teleted after resources they are depending of #18095
Comments
I ran into similar issue where I cannot delete CW Event Rule due to targets being associated with the rule. I cannot remove all the rules via terraform or AWS Console.
|
Hello! 🤖 This issue relates to an older version of Terraform that is no longer in active development, and because the area of Terraform it relates to has changed significantly since the issue was opened we suspect that the issue is either fixed or that the circumstances around it have changed enough that we'd need an updated issue report in order to reproduce and address it. If you're still seeing this or a similar issue in the latest version of Terraform, please do feel free to open a new bug report! Please be sure to include all of the information requested in the template, even if it might seem redundant with the information already shared in this issue, because the internal details relating to this problem are likely to be different in the current version of Terraform. Thanks! |
Added again bug report on the latest version of now 0.12.8 #22767 |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
Terraform Configuration Files
Crash Output
Expected Behavior
Terraform should have removed the lambda function before attempting to remove the cloudwatch events rule linked to this lambda function. In this case, the events rule is only used to one lambda function and they are both deployed and updated only with Terraform.
Actual Behavior
Terraform attempts to remove the CW events rule before the Lambda function that used it, so everything is okay at the end but the CW events rule is not removed and the error message pasted above is displayed.
Steps to Reproduce
Create a template with a lambda function and associated CW event periodic scheduling, appy this template and then attempt to modify it (rename resources) or delete it.
The text was updated successfully, but these errors were encountered: