Created
December 28, 2016 17:33
-
-
Save ZhijieWang/514706e1fee6acd0ea52185ba0dc54f2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error applying plan: | |
2 error(s) occurred: | |
* aws_cloudwatch_metric_alarm.service_cpu_high: diffs didn't match during apply. This is a bug with Terraform and should be reported as a GitHub Issue. | |
Please include the following information in your report: | |
Terraform Version: 0.8.0 | |
Resource ID: aws_cloudwatch_metric_alarm.service_cpu_high | |
Mismatch reason: attribute mismatch: alarm_actions.1727435665 | |
Diff One (usually from plan): *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{"alarm_actions.3293745646":*terraform.ResourceAttrDiff{Old:"arn:aws:autoscaling:us-west-2:488848154237:scalingPolicy:446f734c-c282-4c11-9e26-886a22e305ba:resource/ecs/service/OurAir-ECS-Cluster-Dev/OurAir-Microservice-Breezometer:policyName/scale-up", New:"", NewComputed:false, NewRemoved:true, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "alarm_actions.1727435665":*terraform.ResourceAttrDiff{Old:"", New:"arn:aws:autoscaling:us-west-2:488848154237:scalingPolicy:23915100-b4b9-4882-95a1-8f71acaeba60:resource/ecs/service/OurAir-ECS-Cluster-Dev/OurAir-Microservice-Building:policyName/scale-up", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false} | |
Diff Two (usually from apply): *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff(nil), Destroy:false, DestroyDeposed:false, DestroyTainted:false} | |
Also include as much context as you can about your config, state, and the steps you performed to trigger this error. | |
* aws_cloudwatch_metric_alarm.service_cpu_low: diffs didn't match during apply. This is a bug with Terraform and should be reported as a GitHub Issue. | |
Please include the following information in your report: | |
Terraform Version: 0.8.0 | |
Resource ID: aws_cloudwatch_metric_alarm.service_cpu_low | |
Mismatch reason: attribute mismatch: alarm_actions.864541892 | |
Diff One (usually from plan): *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{"alarm_actions.941571577":*terraform.ResourceAttrDiff{Old:"arn:aws:autoscaling:us-west-2:488848154237:scalingPolicy:bffbaf9d-0478-42b3-b53c-8a76d0475cf5:resource/ecs/service/OurAir-ECS-Cluster-Dev/OurAir-Microservice-MainView:policyName/scale-down", New:"", NewComputed:false, NewRemoved:true, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "alarm_actions.864541892":*terraform.ResourceAttrDiff{Old:"", New:"arn:aws:autoscaling:us-west-2:488848154237:scalingPolicy:446f734c-c282-4c11-9e26-886a22e305ba:resource/ecs/service/OurAir-ECS-Cluster-Dev/OurAir-Microservice-Breezometer:policyName/scale-down", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false} | |
Diff Two (usually from apply): *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{"alarm_actions.941571577":*terraform.ResourceAttrDiff{Old:"arn:aws:autoscaling:us-west-2:488848154237:scalingPolicy:bffbaf9d-0478-42b3-b53c-8a76d0475cf5:resource/ecs/service/OurAir-ECS-Cluster-Dev/OurAir-Microservice-MainView:policyName/scale-down", New:"", NewComputed:false, NewRemoved:true, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "alarm_actions.51878589":*terraform.ResourceAttrDiff{Old:"", New:"arn:aws:autoscaling:us-west-2:488848154237:scalingPolicy:5f8456a2-932f-4054-b77a-e99d928a8b00:resource/ecs/service/OurAir-ECS-Cluster-Dev/OurAir-Microservice-Device:policyName/scale-down", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false} | |
Also include as much context as you can about your config, state, and the steps you performed to trigger this error. | |
Terraform does not automatically rollback in the face of errors. | |
Instead, your Terraform state file has been partially updated with | |
any resources that successfully completed. Please address the error | |
above and apply again to incrementally change your infrastructure. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment