{"action":"created","issue":{"url":"https://api.github.com/repos/PeoplePerHour/terraform/issues/11","labels_url":"https://api.github.com/repos/PeoplePerHour/terraform/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/PeoplePerHour/terraform/issues/11/comments","events_url":"https://api.github.com/repos/PeoplePerHour/terraform/issues/11/events","html_url":"https://github.com/PeoplePerHour/terraform/pull/11","id":59057462,"number":11,"title":"Revert \"sync with upstream\"","user":{"login":"pmoust","id":2493339,"avatar_url":"https://avatars.githubusercontent.com/u/2493339?v=3","gravatar_id":"","url":"https://api.github.com/users/pmoust","html_url":"https://github.com/pmoust","followers_url":"https://api.github.com/users/pmoust/followers","following_url":"https://api.github.com/users/pmoust/following{/other_user}","gists_url":"https://api.github.com/users/pmoust/gists{/gist_id}","starred_url":"https://api.github.com/users/pmoust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmoust/subscriptions","organizations_url":"https://api.github.com/users/pmoust/orgs","repos_url":"https://api.github.com/users/pmoust/repos","events_url":"https://api.github.com/users/pmoust/events{/privacy}","received_events_url":"https://api.github.com/users/pmoust/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-26T11:17:36Z","updated_at":"2015-03-02T04:41:33Z","closed_at":"2015-02-26T11:17:51Z","pull_request":{"url":"https://api.github.com/repos/PeoplePerHour/terraform/pulls/11","html_url":"https://github.com/PeoplePerHour/terraform/pull/11","diff_url":"https://github.com/PeoplePerHour/terraform/pull/11.diff","patch_url":"https://github.com/PeoplePerHour/terraform/pull/11.patch"},"body":"Reverts PeoplePerHour/terraform#10 due  to https://github.com/hashicorp/terraform/issues/1047\r\n\r\nGraph generation has issues, just started the CI on Shippable and got a plan change on 'test'\r\n```\r\n~ aws_elb.pph_sandboxapi_elb\r\n    instances.#: \"\" => \"<computed>\"\r\n\r\n~ aws_elb.pph_sandboxseagrave_elb\r\n    instances.#: \"\" => \"<computed>\"\r\n\r\n~ aws_elb.pph_sandboxweb_elb\r\n    instances.#: \"\" => \"<computed>\"\r\n\r\n+ aws_instance.pph_sandbox\r\n    ami:                                       \"\" => \"ami-02f8b16a\"\r\n    associate_public_ip_address:               \"\" => \"1\"\r\n    availability_zone:                         \"\" => \"us-east-1b\"\r\n    block_device.#:                            \"\" => \"<computed>\"\r\n    instance_type:                             \"\" => \"m3.medium\"\r\n    key_name:                                  \"\" => \"<computed>\"\r\n    private_dns:                               \"\" => \"<computed>\"\r\n    private_ip:                                \"\" => \"<computed>\"\r\n    public_dns:                                \"\" => \"<computed>\"\r\n    public_ip:                                 \"\" => \"<computed>\"\r\n    root_block_device.#:                       \"\" => \"1\"\r\n    root_block_device.0.delete_on_termination: \"\" => \"1\"\r\n    root_block_device.0.device_name:           \"\" => \"/dev/sda1\"\r\n    root_block_device.0.volume_size:           \"\" => \"128\"\r\n    root_block_device.0.volume_type:           \"\" => \"gp2\"\r\n    security_groups.#:                         \"\" => \"5\"\r\n    security_groups.1610004074:                \"\" => \"sg-d1b443b5\"\r\n    security_groups.1886755183:                \"\" => \"sg-d9b443bd\"\r\n    security_groups.390598185:                 \"\" => \"sg-dab443be\"\r\n    security_groups.3985752899:                \"\" => \"sg-b4b443d0\"\r\n    security_groups.4086492813:                \"\" => \"sg-6851a20c\"\r\n    subnet_id:                                 \"\" => \"subnet-13b90264\"\r\n    tags.#:                                    \"\" => \"1\"\r\n    tags.Name:                                 \"\" => \"sandbox00\"\r\n    tenancy:                                   \"\" => \"<computed>\"\r\n    user_data:                                 \"\" => \"467d1edee52cc5a2efa34c135928dd0720d40dd7\"\r\n\r\n~ aws_route53_record.pph_sandbox\r\n    records.#: \"\" => \"<computed>\"\r\n\r\n-/+ aws_route53_record.pph_shippable.0\r\n    name:               \"<snipped>\" => \"<snipped>\"\r\n    records.#:          \"1\" => \"1\"\r\n    records.3586378067: \"\" => \"<snipped>\" (forces new resource)\r\n    ttl:                \"60\" => \"60\"\r\n    type:               \"CNAME\" => \"CNAME\"\r\n    zone_id:            \"Z5MJEAK7L5HAZ\" => \"Z5MJEAK7L5HAZ\"\r\n```\r\n\r\nThe `sandbox` `aws_instance` is added in plan as non-existant thus triggering changes in an `aws_route53_record` and other dependant `aws_elb` entities. And a very weird change on another `aws_route53_record` that makes no sense."},"comment":{"url":"https://api.github.com/repos/PeoplePerHour/terraform/issues/comments/76657836","html_url":"https://github.com/PeoplePerHour/terraform/pull/11#issuecomment-76657836","issue_url":"https://api.github.com/repos/PeoplePerHour/terraform/issues/11","id":76657836,"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":"2015-03-02T04:41:33Z","updated_at":"2015-03-02T04:41:33Z","body":"Okay, I've realized something strange about your state file that is causing all of these problems. I am posting this publicly since I won't give away any identifying info you haven't already given out above. \r\n\r\nIn your state file there is both an `aws_instance.pph_sandbox` and a `aws_instance.pph_sandbox.0`, as well as the same phenomenon for `aws_route53_record.pph_sandbox`. If you remove the `.0` version of both of those (which appears to come from an older version of Terraform since its missing values from 0.3.7), then the plan is \"no changes.\"\r\n\r\nI'm going to look into fixing an issue in TF master to identify this, more info to come."}}