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

Volume cannot be attached to instances with pool tag #272

Closed
cmd-ntrf opened this issue Dec 1, 2023 · 0 comments · Fixed by #273
Closed

Volume cannot be attached to instances with pool tag #272

cmd-ntrf opened this issue Dec 1, 2023 · 0 comments · Fixed by #273
Assignees
Labels
bug Something isn't working

Comments

@cmd-ntrf
Copy link
Member

cmd-ntrf commented Dec 1, 2023

Error: Invalid index
on .terraform/modules/openstack/openstack/infrastructure.tf line 108, in resource "openstack_compute_volume_attach_v2" "attachments":
  instance_id = openstack_compute_instance_v2.instances[each.value.instance].id
each.value.instance is "ondemand8"
openstack_compute_instance_v2.instances is object with 4 attributes
The given key does not identify an element in this collection value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant