-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Unable to find aws_volume_attachment id #9910
Comments
I did a manual update of the aws_volume_attachment in the terraform state. After this one match the reality, the This seems to confirm that some ids are present at the terraform level and not cloud provider one. |
Should this really be closed? This seems like a problem to me. I'm happy that @tdeheurles was able to solve the problem he/she was experiencing, but seems like it'll continue to be a problem for people adopting terraform when they already have EBS volumes attached to instances if there's no way to import this. |
Ah, sounds like this is (mostly) resolved by #11060. Feels wrong to apply to create an attachment that already exists, but ... at least it doesn't fail, I guess. |
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. |
Hi.
I'm trying to update a
terraform state
that a diverged from the reality.I have updated my
terraform code
to match the new changes and have successfully imported most new resources. I then runterraform plan
to diff reality/state/code.But I'm failing on the
aws_volume_attachment
as I don't know how to find the id by using theaws cli
oraws console
.My current feeling is this
aws_volume_attachment.id
is a terraform one but maybe I'm wrong.The text was updated successfully, but these errors were encountered: