Closed pradeep17j closed 2 months ago
Please use the markdown editor to formal the hcl and console output for readability
Proper formatting applied for maintainer readability and historical context.
high_availability_enabled
is optional and simply setting it to true
should work around the problem.
As for the default value - it should stay false
.
This is an optional property according to the documentation https://developer.broadcom.com/xapis/vmware-cloud-foundation-api/latest/data-structures/AdvancedOptions/
Furthermore enabling HA on a cluster should be a concious decision and should be specified explicitly by the user.
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Code of Conduct
Terraform
1.9.2
Terraform Provider
0.9.1
VMware Cloud Foundation
5.2
Description
Remove host operation on a cluster fails with error message below.
This happens because the provider by default sets the
high_availability_enabled": false,
Below is the snippet ofterraform.tfstate
file which shows thathigh_availability_enabled=False
.The provider should set this to
true
.Affected Resources or Data Sources
r/workload_domain
Terraform Configuration
Debug Output
Panic Output
No response
Expected Behavior
Remove host operation on a cluster should have succeeded.
Actual Behavior
Fails to remove because by default the vSphere HA is OFF.
Steps to Reproduce
Environment Details
No response
Screenshots
No response
References
No response