{"action":"closed","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/9940","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/9940/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/9940/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/9940/events","html_url":"https://github.com/hashicorp/terraform/issues/9940","id":187861913,"number":9940,"title":"Experimental feature failure: Self reference","user":{"login":"Vultour","id":5161923,"avatar_url":"https://avatars.githubusercontent.com/u/5161923?v=3","gravatar_id":"","url":"https://api.github.com/users/Vultour","html_url":"https://github.com/Vultour","followers_url":"https://api.github.com/users/Vultour/followers","following_url":"https://api.github.com/users/Vultour/following{/other_user}","gists_url":"https://api.github.com/users/Vultour/gists{/gist_id}","starred_url":"https://api.github.com/users/Vultour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vultour/subscriptions","organizations_url":"https://api.github.com/users/Vultour/orgs","repos_url":"https://api.github.com/users/Vultour/repos","events_url":"https://api.github.com/users/Vultour/events{/privacy}","received_events_url":"https://api.github.com/users/Vultour/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}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-07T23:41:44Z","updated_at":"2016-11-08T19:19:00Z","closed_at":"2016-11-08T19:19:00Z","body":"Just got the following error while testing out Terraform:\r\n\r\n```\r\nDestroy complete! Resources: 1 destroyed.\r\n\r\nExperimental feature failure! Please report a bug.\r\n\r\n. . .\r\n\r\n1 error(s) occurred:\r\n\r\n* apply operation: Error building new graph: 1 error(s) occurred:\r\n\r\n* Self reference: digitalocean_droplet.svc01 (destroy)\r\n\r\nThis is not an error. Your terraform operation completed successfully\r\nand your real infrastructure is unaffected by this message.\r\n```\r\n\r\n\r\nMy config file:\r\n```\r\nvariable \"do_token\" {}\r\nvariable \"server_count\" {}\r\n\r\nprovider \"digitalocean\" {\r\n    token = \"${var.do_token}\"\r\n}\r\n\r\n\r\nresource \"digitalocean_droplet\" \"svc01\" {\r\n    count       = \"${var.server_count}\"\r\n    image       = \"centos-7-x64\"\r\n    name        = \"svc01.<redacted>.eu\"\r\n    region      = \"lon1\"\r\n    size        = \"512mb\"\r\n    ssh_keys    = [<redacted>]\r\n\r\n    provisioner \"local-exec\" {\r\n        command = \"sudo /opt/infra/scripts/update-hosts.sh ${digitalocean_droplet.svc01.name} ${digitalocean_droplet.svc01.ipv4_address}\"\r\n    }\r\n\r\n    provisioner \"local-exec\" {\r\n        command = \"ansible-playbook /opt/infra/ansible/site.yml\"\r\n    }\r\n}\r\n```"}}
{"actor":{"display_login":"mitchellh"}}