Created
February 3, 2015 03:06
-
-
Save gosuri/86a9027eab6394314273 to your computer and use it in GitHub Desktop.
Terraform ELB Update Failure Log
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
=== RUN TestAccAWSELBUpdate_HealthCheck | |
2015/02/02 19:02:13 [WARN] Test: Executing step 0 | |
2015/02/02 19:02:13 [DEBUG] Creating graph for path: [root] | |
2015/02/02 19:02:13 [DEBUG] Graph [root] created and valid. 3 nouns. | |
2015/02/02 19:02:13 [INFO] Validating provider: aws | |
2015/02/02 19:02:13 [DEBUG] aws_elb.bar: expanding to count = 1 | |
2015/02/02 19:02:13 [INFO] Validating resource: aws_elb.bar | |
2015/02/02 19:02:13 [DEBUG] Creating graph for path: [root] | |
2015/02/02 19:02:13 [DEBUG] Graph [root] created and valid. 3 nouns. | |
2015/02/02 19:02:13 [INFO] Configuring provider: aws | |
2015/02/02 19:02:13 [INFO] Building AWS auth structure | |
2015/02/02 19:02:13 [INFO] Building AWS region structure | |
2015/02/02 19:02:13 [INFO] Initializing EC2 connection | |
2015/02/02 19:02:13 [INFO] Initializing ELB connection | |
2015/02/02 19:02:13 [INFO] Initializing AutoScaling connection | |
2015/02/02 19:02:13 [INFO] Initializing S3 connection | |
2015/02/02 19:02:13 [INFO] Initializing RDS connection | |
2015/02/02 19:02:13 [INFO] Initializing Route53 connection | |
2015/02/02 19:02:13 [DEBUG] aws_elb.bar: expanding to count = 1 | |
2015/02/02 19:02:13 [INFO] Module root walking: aws_elb.bar (Graph node: aws_elb.bar) | |
2015/02/02 19:02:13 [DEBUG] aws_elb.bar: Not refreshing, ID is empty | |
2015/02/02 19:02:13 [DEBUG] Creating graph for path: [root] | |
2015/02/02 19:02:13 [DEBUG] Graph [root] created and valid. 3 nouns. | |
2015/02/02 19:02:13 [INFO] Configuring provider: aws | |
2015/02/02 19:02:13 [INFO] Building AWS auth structure | |
2015/02/02 19:02:13 [INFO] Building AWS region structure | |
2015/02/02 19:02:13 [INFO] Initializing EC2 connection | |
2015/02/02 19:02:13 [INFO] Initializing ELB connection | |
2015/02/02 19:02:13 [INFO] Initializing AutoScaling connection | |
2015/02/02 19:02:13 [INFO] Initializing S3 connection | |
2015/02/02 19:02:13 [INFO] Initializing RDS connection | |
2015/02/02 19:02:13 [INFO] Initializing Route53 connection | |
2015/02/02 19:02:13 [DEBUG] aws_elb.bar: expanding to count = 1 | |
2015/02/02 19:02:13 [INFO] Module root walking: aws_elb.bar (Graph node: aws_elb.bar) | |
2015/02/02 19:02:13 [DEBUG] aws_elb.bar: Executing diff | |
2015/02/02 19:02:13 [DEBUG] aws_elb.bar: Diff: &terraform.InstanceDiff{Attributes:map[string]*terraform.ResourceAttrDiff{"name":*terraform.ResourceAttrDiff{Old:"", New:"foobar-terraform-test", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Type:0x0}, "availability_zones.2487133097":*terraform.ResourceAttrDiff{Old:"", New:"us-west-2a", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Type:0x0}, "instances.#":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "internal":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Type:0x0}, "listener.206423021.lb_port":*terraform.ResourceAttrDiff{Old:"", New:"80", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "listener.#":*terraform.ResourceAttrDiff{Old:"", New:"1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Type:0x0}, "listener.206423021.instance_port":*terraform.ResourceAttrDiff{Old:"", New:"8000", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "listener.206423021.lb_protocol":*terraform.ResourceAttrDiff{Old:"", New:"http", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "listener.206423021.ssl_certificate_id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "health_check.3484319807.timeout":*terraform.ResourceAttrDiff{Old:"", New:"30", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "health_check.3484319807.target":*terraform.ResourceAttrDiff{Old:"", New:"HTTP:8000/", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "subnets.#":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "availability_zones.#":*terraform.ResourceAttrDiff{Old:"", New:"1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Type:0x0}, "security_groups.#":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "listener.206423021.instance_protocol":*terraform.ResourceAttrDiff{Old:"", New:"http", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "health_check.3484319807.interval":*terraform.ResourceAttrDiff{Old:"", New:"60", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "health_check.3484319807.healthy_threshold":*terraform.ResourceAttrDiff{Old:"", New:"5", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "health_check.3484319807.unhealthy_threshold":*terraform.ResourceAttrDiff{Old:"", New:"5", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "dns_name":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Type:0x2}, "health_check.#":*terraform.ResourceAttrDiff{Old:"", New:"1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Type:0x0}}, Destroy:false, DestroyTainted:false} | |
2015/02/02 19:02:13 [WARN] Test: Step plan: DIFF: | |
CREATE: aws_elb.bar | |
availability_zones.#: "" => "1" (forces new resource) | |
availability_zones.2487133097: "" => "us-west-2a" (forces new resource) | |
dns_name: "" => "<computed>" | |
health_check.#: "" => "1" (forces new resource) | |
health_check.3484319807.healthy_threshold: "" => "5" | |
health_check.3484319807.interval: "" => "60" | |
health_check.3484319807.target: "" => "HTTP:8000/" | |
health_check.3484319807.timeout: "" => "30" | |
health_check.3484319807.unhealthy_threshold: "" => "5" | |
instances.#: "" => "<computed>" | |
internal: "" => "<computed>" (forces new resource) | |
listener.#: "" => "1" (forces new resource) | |
listener.206423021.instance_port: "" => "8000" | |
listener.206423021.instance_protocol: "" => "http" | |
listener.206423021.lb_port: "" => "80" | |
listener.206423021.lb_protocol: "" => "http" | |
listener.206423021.ssl_certificate_id: "" => "" | |
name: "" => "foobar-terraform-test" (forces new resource) | |
security_groups.#: "" => "<computed>" | |
subnets.#: "" => "<computed>" | |
STATE: | |
<no state> | |
2015/02/02 19:02:13 [INFO] Apply walk starting | |
2015/02/02 19:02:13 [DEBUG] Creating graph for path: [root] | |
2015/02/02 19:02:13 [DEBUG] Graph [root] created and valid. 3 nouns. | |
2015/02/02 19:02:13 [INFO] Configuring provider: aws | |
2015/02/02 19:02:13 [INFO] Building AWS auth structure | |
2015/02/02 19:02:13 [INFO] Building AWS region structure | |
2015/02/02 19:02:13 [INFO] Initializing EC2 connection | |
2015/02/02 19:02:13 [INFO] Initializing ELB connection | |
2015/02/02 19:02:13 [INFO] Initializing AutoScaling connection | |
2015/02/02 19:02:13 [INFO] Initializing S3 connection | |
2015/02/02 19:02:13 [INFO] Initializing RDS connection | |
2015/02/02 19:02:13 [INFO] Initializing Route53 connection | |
2015/02/02 19:02:13 [DEBUG] aws_elb.bar: expanding to count = 1 | |
2015/02/02 19:02:13 [INFO] Module root walking: aws_elb.bar (Graph node: aws_elb.bar) | |
2015/02/02 19:02:13 [DEBUG] aws_elb.bar: Executing Apply | |
2015/02/02 19:02:13 [DEBUG] ELB create configuration: &elb.CreateLoadBalancer{AvailZone:[]string{"us-west-2a"}, Listeners:[]elb.Listener{elb.Listener{InstancePort:8000, InstanceProtocol:"http", SSLCertificateId:"", LoadBalancerPort:80, Protocol:"http"}}, LoadBalancerName:"foobar-terraform-test", Internal:false, SecurityGroups:[]string(nil), Subnets:[]string(nil), Tags:[]elb.Tag(nil)} | |
2015/02/02 19:02:14 [INFO] ELB ID: foobar-terraform-test | |
2015/02/02 19:02:14 [INFO] outside modify attributes | |
2015/02/02 19:02:15 [INFO] Apply walk complete | |
2015/02/02 19:02:15 [WARN] Test: Executing step 1 | |
2015/02/02 19:02:15 [DEBUG] Creating graph for path: [root] | |
2015/02/02 19:02:15 [DEBUG] Graph [root] created and valid. 3 nouns. | |
2015/02/02 19:02:15 [INFO] Validating provider: aws | |
2015/02/02 19:02:15 [DEBUG] aws_elb.bar: expanding to count = 1 | |
2015/02/02 19:02:15 [INFO] Validating resource: aws_elb.bar | |
2015/02/02 19:02:15 [DEBUG] Creating graph for path: [root] | |
2015/02/02 19:02:15 [DEBUG] Graph [root] created and valid. 3 nouns. | |
2015/02/02 19:02:15 [INFO] Configuring provider: aws | |
2015/02/02 19:02:15 [INFO] Building AWS auth structure | |
2015/02/02 19:02:15 [INFO] Building AWS region structure | |
2015/02/02 19:02:15 [INFO] Initializing EC2 connection | |
2015/02/02 19:02:15 [INFO] Initializing ELB connection | |
2015/02/02 19:02:15 [INFO] Initializing AutoScaling connection | |
2015/02/02 19:02:15 [INFO] Initializing S3 connection | |
2015/02/02 19:02:15 [INFO] Initializing RDS connection | |
2015/02/02 19:02:15 [INFO] Initializing Route53 connection | |
2015/02/02 19:02:15 [DEBUG] aws_elb.bar: expanding to count = 1 | |
2015/02/02 19:02:15 [INFO] Module root walking: aws_elb.bar (Graph node: aws_elb.bar) | |
2015/02/02 19:02:15 [DEBUG] Creating graph for path: [root] | |
2015/02/02 19:02:15 [DEBUG] Graph [root] created and valid. 3 nouns. | |
2015/02/02 19:02:15 [INFO] Configuring provider: aws | |
2015/02/02 19:02:15 [INFO] Building AWS auth structure | |
2015/02/02 19:02:15 [INFO] Building AWS region structure | |
2015/02/02 19:02:15 [INFO] Initializing EC2 connection | |
2015/02/02 19:02:15 [INFO] Initializing ELB connection | |
2015/02/02 19:02:15 [INFO] Initializing AutoScaling connection | |
2015/02/02 19:02:15 [INFO] Initializing S3 connection | |
2015/02/02 19:02:15 [INFO] Initializing RDS connection | |
2015/02/02 19:02:15 [INFO] Initializing Route53 connection | |
2015/02/02 19:02:15 [DEBUG] aws_elb.bar: expanding to count = 1 | |
2015/02/02 19:02:15 [INFO] Module root walking: aws_elb.bar (Graph node: aws_elb.bar) | |
2015/02/02 19:02:15 [DEBUG] aws_elb.bar: Executing diff | |
2015/02/02 19:02:15 [DEBUG] aws_elb.bar: Diff: &terraform.InstanceDiff{Attributes:map[string]*terraform.ResourceAttrDiff{"health_check.2648756019.timeout":*terraform.ResourceAttrDiff{Old:"", New:"30", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "health_check.2648756019.healthy_threshold":*terraform.ResourceAttrDiff{Old:"", New:"10", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "health_check.2648756019.unhealthy_threshold":*terraform.ResourceAttrDiff{Old:"", New:"5", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "health_check.2648756019.target":*terraform.ResourceAttrDiff{Old:"", New:"HTTP:8000/", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}, "health_check.2648756019.interval":*terraform.ResourceAttrDiff{Old:"", New:"60", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Type:0x0}}, Destroy:false, DestroyTainted:false} | |
2015/02/02 19:02:15 [WARN] Test: Step plan: DIFF: | |
UPDATE: aws_elb.bar | |
health_check.2648756019.healthy_threshold: "" => "10" | |
health_check.2648756019.interval: "" => "60" | |
health_check.2648756019.target: "" => "HTTP:8000/" | |
health_check.2648756019.timeout: "" => "30" | |
health_check.2648756019.unhealthy_threshold: "" => "5" | |
STATE: | |
aws_elb.bar: | |
ID = foobar-terraform-test | |
availability_zones.# = 1 | |
availability_zones.2487133097 = us-west-2a | |
dns_name = foobar-terraform-test-1433168074.us-west-2.elb.amazonaws.com | |
health_check.# = 1 | |
health_check.3484319807.healthy_threshold = 5 | |
health_check.3484319807.interval = 60 | |
health_check.3484319807.target = HTTP:8000/ | |
health_check.3484319807.timeout = 30 | |
health_check.3484319807.unhealthy_threshold = 5 | |
instances.# = 0 | |
internal = false | |
listener.# = 1 | |
listener.206423021.instance_port = 8000 | |
listener.206423021.instance_protocol = http | |
listener.206423021.lb_port = 80 | |
listener.206423021.lb_protocol = http | |
listener.206423021.ssl_certificate_id = | |
name = foobar-terraform-test | |
security_groups.# = 0 | |
subnets.# = 0 | |
2015/02/02 19:02:15 [INFO] Apply walk starting | |
2015/02/02 19:02:15 [DEBUG] Creating graph for path: [root] | |
2015/02/02 19:02:15 [DEBUG] Graph [root] created and valid. 3 nouns. | |
2015/02/02 19:02:15 [INFO] Configuring provider: aws | |
2015/02/02 19:02:15 [INFO] Building AWS auth structure | |
2015/02/02 19:02:15 [INFO] Building AWS region structure | |
2015/02/02 19:02:15 [INFO] Initializing EC2 connection | |
2015/02/02 19:02:15 [INFO] Initializing ELB connection | |
2015/02/02 19:02:15 [INFO] Initializing AutoScaling connection | |
2015/02/02 19:02:15 [INFO] Initializing S3 connection | |
2015/02/02 19:02:15 [INFO] Initializing RDS connection | |
2015/02/02 19:02:15 [INFO] Initializing Route53 connection | |
2015/02/02 19:02:15 [DEBUG] aws_elb.bar: expanding to count = 1 | |
2015/02/02 19:02:15 [INFO] Module root walking: aws_elb.bar (Graph node: aws_elb.bar) | |
2015/02/02 19:02:15 [DEBUG] aws_elb.bar: Executing Apply | |
2015/02/02 19:02:15 [INFO] outside modify attributes | |
2015/02/02 19:02:16 [INFO] Apply walk complete | |
2015/02/02 19:02:16 [WARN] Test: Executing destroy step | |
2015/02/02 19:02:16 [DEBUG] Creating graph for path: [root] | |
2015/02/02 19:02:16 [DEBUG] Graph [root] created and valid. 3 nouns. | |
2015/02/02 19:02:16 [INFO] Validating provider: aws | |
2015/02/02 19:02:16 [DEBUG] aws_elb.bar: expanding to count = 1 | |
2015/02/02 19:02:16 [INFO] Validating resource: aws_elb.bar | |
2015/02/02 19:02:16 [DEBUG] Creating graph for path: [root] | |
2015/02/02 19:02:16 [DEBUG] Graph [root] created and valid. 3 nouns. | |
2015/02/02 19:02:16 [INFO] Configuring provider: aws | |
2015/02/02 19:02:16 [INFO] Building AWS auth structure | |
2015/02/02 19:02:16 [INFO] Building AWS region structure | |
2015/02/02 19:02:16 [INFO] Initializing EC2 connection | |
2015/02/02 19:02:16 [INFO] Initializing ELB connection | |
2015/02/02 19:02:16 [INFO] Initializing AutoScaling connection | |
2015/02/02 19:02:16 [INFO] Initializing S3 connection | |
2015/02/02 19:02:16 [INFO] Initializing RDS connection | |
2015/02/02 19:02:16 [INFO] Initializing Route53 connection | |
2015/02/02 19:02:16 [DEBUG] aws_elb.bar: expanding to count = 1 | |
2015/02/02 19:02:16 [INFO] Module root walking: aws_elb.bar (Graph node: aws_elb.bar) | |
2015/02/02 19:02:17 [DEBUG] Creating graph for path: [root] | |
2015/02/02 19:02:17 [DEBUG] Graph [root] created and valid. 3 nouns. | |
2015/02/02 19:02:17 [DEBUG] aws_elb.bar: expanding to count = 1 | |
2015/02/02 19:02:17 [DEBUG] aws_elb.bar: Making for destroy | |
2015/02/02 19:02:17 [WARN] Test: Step plan: DIFF: | |
DESTROY: aws_elb.bar | |
STATE: | |
aws_elb.bar: | |
ID = foobar-terraform-test | |
availability_zones.# = 1 | |
availability_zones.2487133097 = us-west-2a | |
dns_name = foobar-terraform-test-1433168074.us-west-2.elb.amazonaws.com | |
health_check.# = 1 | |
health_check.3484319807.healthy_threshold = 5 | |
health_check.3484319807.interval = 60 | |
health_check.3484319807.target = HTTP:8000/ | |
health_check.3484319807.timeout = 30 | |
health_check.3484319807.unhealthy_threshold = 5 | |
instances.# = 0 | |
internal = false | |
listener.# = 1 | |
listener.206423021.instance_port = 8000 | |
listener.206423021.instance_protocol = http | |
listener.206423021.lb_port = 80 | |
listener.206423021.lb_protocol = http | |
listener.206423021.ssl_certificate_id = | |
name = foobar-terraform-test | |
security_groups.# = 0 | |
subnets.# = 0 | |
2015/02/02 19:02:17 [INFO] Apply walk starting | |
2015/02/02 19:02:17 [DEBUG] Creating graph for path: [root] | |
2015/02/02 19:02:17 [DEBUG] Graph [root] created and valid. 4 nouns. | |
2015/02/02 19:02:17 [INFO] Configuring provider: aws | |
2015/02/02 19:02:17 [INFO] Building AWS auth structure | |
2015/02/02 19:02:17 [INFO] Building AWS region structure | |
2015/02/02 19:02:17 [INFO] Initializing EC2 connection | |
2015/02/02 19:02:17 [INFO] Initializing ELB connection | |
2015/02/02 19:02:17 [INFO] Initializing AutoScaling connection | |
2015/02/02 19:02:17 [INFO] Initializing S3 connection | |
2015/02/02 19:02:17 [INFO] Initializing RDS connection | |
2015/02/02 19:02:17 [INFO] Initializing Route53 connection | |
2015/02/02 19:02:17 [DEBUG] aws_elb.bar: expanding to count = 1 | |
2015/02/02 19:02:17 [INFO] Module root walking: aws_elb.bar (Graph node: aws_elb.bar) | |
2015/02/02 19:02:17 [DEBUG] aws_elb.bar: Executing Apply | |
2015/02/02 19:02:17 [INFO] Deleting ELB: foobar-terraform-test | |
2015/02/02 19:02:17 [DEBUG] aws_elb.bar: expanding to count = 1 | |
2015/02/02 19:02:17 [INFO] Module root walking: aws_elb.bar (Graph node: aws_elb.bar) | |
2015/02/02 19:02:17 [DEBUG] aws_elb.bar: Diff is empty. Will not apply. | |
2015/02/02 19:02:17 [INFO] Apply walk complete | |
--- FAIL: TestAccAWSELBUpdate_HealthCheck (4.36s) | |
testing.go:121: Step 1 error: Check failed: aws_elb.bar: Attribute 'health_check.2648756019.healthy_threshold' expected "10", got "" | |
FAIL | |
exit status 1 | |
FAIL github.com/hashicorp/terraform/builtin/providers/aws 190.779s | |
make: *** [testacc] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment