-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
aws_cloudwatch_metric_alarm: diffs didn't match during apply #968
Comments
The |
Unfortunately cannot confirm the workaround solves this issue. Using TF 0.8.8. |
I am having a similar issue. My As a test, if I taint the |
Hi folks 👋The fix for the For further bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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! |
The problem appears to be related to
aws_appautoscaling_policy
not properly depending onaws_appautoscaling_target
in the graph.I've noticed that any time I update the
min_capacity
ormax_capacity
of the aws_appautoscaling_target it breaks the link to the policy because Terraform creates a new aws_appautoscaling_target but doesn't then update the policy. I can fix the problem generally by running a second time. In this case however I was updating both the min/max as well as some policy and alarm settings, which caused theapply
to blow up.Terraform Version
Terraform Version: 0.9.8
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Actual Behavior
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
max_capacity
,scale_up_alarm_threshold
, andcooldown
terraform apply
The text was updated successfully, but these errors were encountered: