{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/10126","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/10126/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/10126/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/10126/events","html_url":"https://github.com/hashicorp/terraform/issues/10126","id":189372567,"number":10126,"title":"Terraform 0.7.10 \"This is a bug with Terraform\" same code works with 0.7.7","user":{"login":"kiich","id":4416324,"avatar_url":"https://avatars.githubusercontent.com/u/4416324?v=3","gravatar_id":"","url":"https://api.github.com/users/kiich","html_url":"https://github.com/kiich","followers_url":"https://api.github.com/users/kiich/followers","following_url":"https://api.github.com/users/kiich/following{/other_user}","gists_url":"https://api.github.com/users/kiich/gists{/gist_id}","starred_url":"https://api.github.com/users/kiich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiich/subscriptions","organizations_url":"https://api.github.com/users/kiich/orgs","repos_url":"https://api.github.com/users/kiich/repos","events_url":"https://api.github.com/users/kiich/events{/privacy}","received_events_url":"https://api.github.com/users/kiich/received_events","type":"User","site_admin":false},"labels":[{"id":85946957,"url":"https://api.github.com/repos/hashicorp/terraform/labels/bug","name":"bug","color":"f7c6c7","default":true},{"id":127939292,"url":"https://api.github.com/repos/hashicorp/terraform/labels/core","name":"core","color":"cccccc","default":false},{"id":127939518,"url":"https://api.github.com/repos/hashicorp/terraform/labels/provider/aws","name":"provider/aws","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-15T11:56:19Z","updated_at":"2016-11-15T16:06:55Z","closed_at":null,"body":"Just logging this as per terraform output. Our terraform code are quite large so have not started narrowing this down.\r\n\r\nThis used to work fine with Terraform 0.7.7 and consul as remote state file.\r\nNow using Terraform 0.7.10 and consul as remote state file (after wiping old 0.7.7 one).\r\n\r\n### Terraform Version\r\n```hcl\r\nTerraform v0.7.10\r\n```\r\n\r\n### Expected Behavior\r\nTerraform apply to work\r\n\r\n### Actual Behavior\r\nThrows this error:\r\n```hcl\r\nError applying plan:\r\n\r\n3 error(s) occurred:\r\n\r\n* aws_route_table.routetable: diffs didn't match during apply. This is a bug with Terraform and should be reported as a GitHub Issue.\r\n\r\nPlease include the following information in your report:\r\n\r\n    Terraform Version: 0.7.10\r\n    Resource ID: aws_route_table.routetable\r\n    Mismatch reason: diff RequiresNew; old: true, new: false\r\n    Diff One (usually from plan): *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{\"vpc_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"${var.vpc_id}\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, \"tags.%\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"route.#\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyTainted:false}\r\n    Diff Two (usually from apply): *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{\"tags.Name\":*terraform.ResourceAttrDiff{Old:\"\", New:\"staging-kubernetes\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.owner\":*terraform.ResourceAttrDiff{Old:\"\", New:\"RUN\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.Terraform\":*terraform.ResourceAttrDiff{Old:\"\", New:\"true\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.vpc_id\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"route.#\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"tags.%\":*terraform.ResourceAttrDiff{Old:\"0\", New:\"4\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyTainted:false}\r\n\r\nAlso include as much context as you can about your config, state, and the steps you performed to trigger this error.\r\n\r\n* aws_subnet.subnet_in_specific_az: Error creating subnet: MissingParameter: The request must contain the parameter vpcId\r\n\tstatus code: 400, request id: 8d401d57-6d5c-43db-a7d4-facd563793aa\r\n* aws_security_group.balancers: Error creating Security Group: VPCIdNotSpecified: No default VPC for this user\r\n\tstatus code: 400, request id: d0258c4c-4271-4a11-8a42-1412c5f5a9d5\r\n\r\nTerraform does not automatically rollback in the face of errors.\r\nInstead, your Terraform state file has been partially updated with\r\nany resources that successfully completed. Please address the error\r\nabove and apply again to incrementally change your infrastructure.\r\n```"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/260683734","html_url":"https://github.com/hashicorp/terraform/issues/10126#issuecomment-260683734","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/10126","id":260683734,"user":{"login":"mitchellh","id":1299,"avatar_url":"https://avatars.githubusercontent.com/u/1299?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellh","html_url":"https://github.com/mitchellh","followers_url":"https://api.github.com/users/mitchellh/followers","following_url":"https://api.github.com/users/mitchellh/following{/other_user}","gists_url":"https://api.github.com/users/mitchellh/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellh/subscriptions","organizations_url":"https://api.github.com/users/mitchellh/orgs","repos_url":"https://api.github.com/users/mitchellh/repos","events_url":"https://api.github.com/users/mitchellh/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellh/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T16:06:55Z","updated_at":"2016-11-15T16:06:55Z","body":"Dup of #9916. We've been trying to track this down but need a configuration+state to reproduce this. Is there any chance you can get this?"}}
{"actor":{"display_login":"mitchellh"}}