Open wvanderwaal-iqmessenger opened 3 months ago
Hello, wvanderwaal-iqmessenger! 🖐
Thank you for submitting an issue for this provider. The issue will now enter into the issue lifecycle.
If you want to contribute to this project, please review the contributing guidelines and information on submitting pull requests.
Community Guidelines
Description
Hello,
I'm working on a pull request to make vapp_transport accessible from Terraform, however I'm stuck on an issue. I've made a public fork with a branch "feature-vapp_transport" that contains a commit of my current progress.
The possible values for vapp_transport are: "iso" and "com.vmware.guestInfo", this works fine without issue setting these values. However, when you clear vapp_transport of all values, the values will remain the same. This is to be expected, since the documentation of govmomi type says that the list must contains a single empty string element to reset the value.
But when I do this, the value is converted to 'null' and no action is taken, everything stays the same. No matter how much I force this change in the code, testing by setting the value directly to a list with a single empty string value, nothing has worked.
Is there something I'm overlooking? Since my believe is now that somewhere down the line the list with a single empty string will always be converted to list with a null value, since the value of vapp_transport don't change.
Hopefully you can help me with my question of sending a list with a single empty string.
Use Case(s)
Making vapp_transport controllable from Terraform requires no longer to edit the XML of the image. Once OVF is used, it will allow to both enable environment transport, and setting the properties that's already part of this Terraform provider. As long vApp is enabled, now this can be fully done within the Terraform configuration.
Potential Terraform Provider Configuration
References
No response