Open stackthecat opened 1 month ago
Hello, stackthecat! 🖐
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
Terraform
v1.9.3
Terraform Provider
v2.8.2
VMware vSphere
7.0U3 Build 22357613
Description
When applying terraform plan, storage_policy_id is well retrieved from datasource.
It is successfully applied at VM Folder Level, but not at disk level. (when i delete storage_policy_id from disk block, VM Encryption Policy is applied on VM folder and virtual machine provisioning is successfull)
Affected Resources or Data Sources
resource/vsphere_virtual_machine
Terraform Configuration
Debug Output
Panic Output
No response
Expected Behavior
Correct provisionning of vSphere virtual machine from a template with Encryption Policy applied both on virtual disk and VM Folder
Actual Behavior
Steps to Reproduce
terraform apply
Environment Details
When applying terraform plan, storage_policy_id is well retrieved from datasource.
It is successfully applied at VM Folder Level, but not at disk level. (when i delete storage_policy_id from disk block, VM Encryption Policy is applied on VM folder and virtual machine provisioning is successfull)
Screenshots
No response
References
No response