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

Multiple "resource does not have attribute" errors on destroy run #8869

Closed
rcgenova opened this issue Sep 15, 2016 · 4 comments
Closed

Multiple "resource does not have attribute" errors on destroy run #8869

rcgenova opened this issue Sep 15, 2016 · 4 comments

Comments

@rcgenova
Copy link

Terraform Version

0.7.2

Affected Resource(s)

atlas_artifact
google_compute_network

Debug Output

Atlas run links:
https://atlas.hashicorp.com/terraform/rcgenova/environments/google-us-central1-prod/changes/runs/66
https://atlas.hashicorp.com/terraform/rcgenova/environments/google-us-central1-prod/changes/runs/68 (TF_LOG=DEBUG)

Actual Behavior

Received the following errors at the end of the apply/destroy:

Error applying plan:

6 error(s) occurred:

* Resource 'data.atlas_artifact.google-ubuntu-haproxy' does not have attribute 'id' for variable 'data.atlas_artifact.google-ubuntu-haproxy.id'
* Resource 'data.atlas_artifact.google-ubuntu-nodejs' does not have attribute 'id' for variable 'data.atlas_artifact.google-ubuntu-nodejs.id'
* Resource 'data.atlas_artifact.google-ubuntu-consul' does not have attribute 'id' for variable 'data.atlas_artifact.google-ubuntu-consul.id'
* Resource 'data.atlas_artifact.google-ubuntu-vault' does not have attribute 'id' for variable 'data.atlas_artifact.google-ubuntu-vault.id'
* Resource 'google_compute_network.network' does not have attribute 'self_link' for variable 'google_compute_network.network.self_link'
* Resource 'google_compute_network.network' does not have attribute 'self_link' for variable 'google_compute_network.network.self_link'

References

Possibly related to: #6991

@jen20
Copy link
Contributor

jen20 commented Sep 20, 2016

@jbardin I wonder if this is related to one of the races you have found recently?

@rwc
Copy link
Contributor

rwc commented Oct 5, 2016

Confirming this is an issue in 0.7.4.

@mitchellh
Copy link
Contributor

This should be fixed in 0.8.0 beta.

@ghost
Copy link

ghost commented Apr 19, 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 19, 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

4 participants