Open Teja446 opened 1 year ago
Hello, Teja446! 🖐
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.
Can you please add a reproduction example for this issue. Unfortunately, I don't quite understand what the issue is based on the provided content.
Community Guidelines
Terraform
v0.13
Terraform Provider
v0.13
VMware vSphere
2.4.1
Description
Datastore reconciliation is failing : Datastore resource is not getting created after deletion .
Developed the code to deploy datastore, resource is getting deployed successfully in vmware console. But while verifying reconciliation , resource is not getting created after deletion, resource is getting deleted permanently.
Affected Resources or Data Sources
resource/vsphere_vmfs_datastore
Terraform Configuration
terraform version :v0.13 vmware provider version : 2.4.1
code : resource "vsphere_vmfs_datastore" "datastore" { name = "test-datastore123" host_system_id = "host-6831"
disks = [ "naa.68ccf09800739cea89a25a2382aad883", ] }
Debug Output
"observe failed: cannot run refresh: refresh failed: ServerFaultCode: The object 'vim.StoragePod:group-p8600' has already been deleted or has not been completely created"
Panic Output
No response
Expected Behavior
Resource should automatically create after deletion from console
Actual Behavior
Resource is not getting created and throwing an error ""observe failed: cannot run refresh: refresh failed: ServerFaultCode: The object 'vim.StoragePod:group-p8600' has already been deleted or has not been completely created"
Steps to Reproduce
Install terraform v0.13 Use vsphere provider 2.4.1 pass secrets to provider execute code (which is available in terraform configuration code block)
Environment Details
No response
Screenshots
No response
References
No response