Open remrozk opened 1 year ago
Hello, remrozk! π
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.
Hi team,
Do you have some news?
Thank you for your assistance, -- remrozk
Community Guidelines
Terraform
v1.5.5
Terraform Provider
v2.4.0
VMware vSphere
v7.0.3
Description
I tried to pass a disk size in the vApp option named
vmdisk_capacity
when I useovf_deploy
andvapp
blocks. The value will be used during the deployment of the OVF template to create an additional disk with a "dynamic" value.The code works with the
clone
block. The OVF template also works fine with the vSphere web interface and with the govc binary.If I use the
ovf_deploy
block, the value in the vApp option is correctly set, but the default value of this vApp option is used during the deployment.Affected Resources or Data Sources
resource\vsphere_virtual_machine
Terraform Configuration
main.tf
data.tf
variables.tf
Debug Output
https://gist.github.com/remrozk/069bb4b6fc2f0660d017d09088e88feb
Panic Output
No response
Expected Behavior
The additional disks created during the OVF deployment should be with the size set in the vApp option, not the default value of this vApp option.
Actual Behavior
The additional disks are created during the OVF deployment with the default value of the vApp option, the size set in the vApp option is ignored during the deployment, even if the vApp option is correctly set in the virtual machine.
Steps to Reproduce
In the OVF file, add this section:
In the
ProductSection
, add this section:Run Terraform which calls the OVF template with the URL.
Environment Details
No response
Screenshots
vApp options
Settings
References
No response