Created
August 3, 2017 06:32
-
-
Save jnahelou/e1861543254d193a71ae8733f4bbc0f2 to your computer and use it in GitHub Desktop.
This file contains 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
var.app_security_audit_passed | |
Enter a value: true | |
null_resource.ips_whitelist: Refreshing state... (ID: 4995369097748485300) | |
null_resource.ips_whitelist_infos: Refreshing state... (ID: 5103843319032705965) | |
aws_security_group.sg.0: Refreshing state... (ID: sg-99cb4be1) | |
aws_security_group.sg.1: Refreshing state... (ID: sg-0bcb4b73) | |
aws_elb.elb: Refreshing state... (ID: test) | |
aws_security_group_rule.allow_from_internet_http.0: Refreshing state... (ID: sgrule-1238533004) | |
aws_security_group_rule.allow_from_internet_http.1: Refreshing state... (ID: sgrule-530970083) | |
null_resource.ips_whitelist: Creating... | |
triggers.%: "" => "1" | |
triggers.value: "" => "0.0.0.0/0" | |
null_resource.ips_whitelist: Creation complete (ID: 7451026775678994526) | |
null_resource.ips_whitelist_infos: Creating... | |
triggers.%: "" => "3" | |
triggers.count_nb: "" => "1" | |
triggers.last_block: "" => "1" | |
triggers.value: "" => "0.0.0.0/0" | |
null_resource.ips_whitelist_infos: Creation complete (ID: 1365719964740864535) | |
aws_security_group_rule.allow_from_internet_http.1: Destroying... (ID: sgrule-530970083) | |
aws_security_group_rule.allow_from_internet_http: Creating... | |
cidr_blocks.#: "" => "1" | |
cidr_blocks.0: "" => "0.0.0.0/0" | |
from_port: "" => "80" | |
protocol: "" => "tcp" | |
security_group_id: "" => "sg-99cb4be1" | |
self: "" => "false" | |
source_security_group_id: "" => "<computed>" | |
to_port: "" => "80" | |
type: "" => "ingress" | |
aws_security_group_rule.allow_from_internet_http.1: Destruction complete | |
aws_security_group_rule.allow_from_internet_http: Creation complete (ID: sgrule-1576159389) | |
Error applying plan: | |
1 error(s) occurred: | |
* aws_elb.elb: aws_elb.elb: 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.10.0 | |
Resource ID: aws_elb.elb | |
Mismatch reason: attribute mismatch: security_groups.# | |
Diff One (usually from plan): *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{"security_groups.#":*terraform.ResourceAttrDiff{Old:"2", New:"1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "security_groups.2742622481":*terraform.ResourceAttrDiff{Old:"sg-0bcb4b73", New:"", NewComputed:false, NewRemoved:true, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "security_groups.4217889165":*terraform.ResourceAttrDiff{Old:"sg-99cb4be1", New:"sg-99cb4be1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, Meta:map[string]interface {}(nil)} | |
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, Meta:map[string]interface {}(nil)} | |
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