You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
Do not leave "+1" or other comments that do not add relevant information or questions.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Terraform
v1.7.2
Terraform Provider
v0.10.0
VMware Cloud Foundation
5.2
Description
When esa_enabled property is not specified, the validation fails during apply.
### [root@template vcf_bringup]# terraform apply**╷│ Error: JSON Spec Validation││ with vcf_instance.sddc_instance,│ on main.tf line 4, in resource "vcf_instance" "sddc_instance":│ 4: resource "vcf_instance" "sddc_instance" {││ Invalid vSAN ESA config provided: vSAN ESA config flag cannot be set to empty│
**
Affected Resources or Data Sources
resource/vcf_instance
Terraform Configuration
vsan section without esa_enabled
+ vsan {
+ datastore_name = "sddc_mgmt_vsan"
+ license = (sensitive value)
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
vcf_instance.sddc_instance: Creating...
vcf_instance.sddc_instance: Still creating... [10s elapsed]
vcf_instance.sddc_instance: Still creating... [20s elapsed]
╷
│ Error: JSON Spec Validation
│
│ with vcf_instance.sddc_instance,
│ on main.tf line 4, in resource "vcf_instance" "sddc_instance":
│ 4: resource "vcf_instance" "sddc_instance" {
│
│ Invalid vSAN ESA config provided: vSAN ESA config flag cannot be set to empty
│
vsan section with esa_enabled="false" fails at apply
+ vsan { + datastore_name = "sddc_mgmt_vsan" + esa_enabled = false + license = (sensitive value) } }Plan: 1 to add, 0 to change, 0 to destroy.Do you want to perform these actions? Terraform will perform the actions described above. Only 'yes' will be accepted to approve. Enter a value: yesvcf_instance.sddc_instance: Creating...vcf_instance.sddc_instance: Still creating... [10s elapsed]vcf_instance.sddc_instance: Still creating... [20s elapsed]╷│ Error: JSON Spec Validation││ with vcf_instance.sddc_instance,│ on main.tf line 4, in resource "vcf_instance" "sddc_instance":│ 4: resource "vcf_instance" "sddc_instance" {││ Invalid vSAN ESA config provided: vSAN ESA config flag cannot be set to empty│╵
Debug Output
+ vsan { + datastore_name = "sddc_mgmt_vsan" + license = (sensitive value) } }Plan: 1 to add, 0 to change, 0 to destroy.Do you want to perform these actions? Terraform will perform the actions described above. Only 'yes' will be accepted to approve. Enter a value: yesvcf_instance.sddc_instance: Creating...vcf_instance.sddc_instance: Still creating... [10s elapsed]vcf_instance.sddc_instance: Still creating... [20s elapsed]╷│ Error: JSON Spec Validation││ with vcf_instance.sddc_instance,│ on main.tf line 4, in resource "vcf_instance" "sddc_instance":│ 4: resource "vcf_instance" "sddc_instance" {││ Invalid vSAN ESA config provided: vSAN ESA config flag cannot be set to empty│
Panic Output
No response
Expected Behavior
Successful Bringup
Actual Behavior
Fails at validation
Steps to Reproduce
terraform apply
Environment Details
No response
Screenshots
No response
References
No response
The text was updated successfully, but these errors were encountered:
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
v1.7.2
Terraform Provider
v0.10.0
VMware Cloud Foundation
5.2
Description
When
esa_enabled
property is not specified, the validation fails during apply.**
Affected Resources or Data Sources
resource/vcf_instance
Terraform Configuration
vsan section without esa_enabled
vsan section with esa_enabled="false" fails at apply
Debug Output
Panic Output
No response
Expected Behavior
Successful Bringup
Actual Behavior
Fails at validation
Steps to Reproduce
terraform apply
Environment Details
No response
Screenshots
No response
References
No response
The text was updated successfully, but these errors were encountered: