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

Use schema.TypeMap for metadata #941

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

atrawog
Copy link

@atrawog atrawog commented Mar 31, 2022

I'm currently using the metadata field in openstack_compute_instance_v2 from the terraform-provider-openstack/openstack provider to set the metadata I need to use an instance together with Ansible.

  metadata = {
     group = "ansiblegroup"
     ansible_user = "debian"
   }

I would like to do the same with dmacvicar/terraform-provider-libvirt. But unfortunately the metadata type in dmacvicar/terraform-provider-libvirt is currently set to TypeString. This PR changes the type to TypeMap to make terraform deployments between openstack and libvirt behave consistently regarding metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant