Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental feature failure: Self reference #9940

Closed
Vultour opened this issue Nov 7, 2016 · 2 comments
Closed

Experimental feature failure: Self reference #9940

Vultour opened this issue Nov 7, 2016 · 2 comments

Comments

@Vultour
Copy link

Vultour commented Nov 7, 2016

Just got the following error while testing out Terraform:

Destroy complete! Resources: 1 destroyed.

Experimental feature failure! Please report a bug.

. . .

1 error(s) occurred:

* apply operation: Error building new graph: 1 error(s) occurred:

* Self reference: digitalocean_droplet.svc01 (destroy)

This is not an error. Your terraform operation completed successfully
and your real infrastructure is unaffected by this message.

My config file:

variable "do_token" {}
variable "server_count" {}

provider "digitalocean" {
    token = "${var.do_token}"
}


resource "digitalocean_droplet" "svc01" {
    count       = "${var.server_count}"
    image       = "centos-7-x64"
    name        = "svc01.<redacted>.eu"
    region      = "lon1"
    size        = "512mb"
    ssh_keys    = [<redacted>]

    provisioner "local-exec" {
        command = "sudo /opt/infra/scripts/update-hosts.sh ${digitalocean_droplet.svc01.name} ${digitalocean_droplet.svc01.ipv4_address}"
    }

    provisioner "local-exec" {
        command = "ansible-playbook /opt/infra/ansible/site.yml"
    }
}
@mitchellh
Copy link
Contributor

Dup of #9920. Thanks!

@ghost
Copy link

ghost commented Apr 20, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants