Open pradeep17j opened 4 days ago
I came across this problem recently, it's due to this line and the fact that the cluster name defaults to an empty string. The condition that checks it should not treat an empty string as a valid value.
To unblock yourself @pradeep17j use a cluster name instead of an ID for now.
And even though this problem is not related to the version of VCF you're using, I want to use the opportunity to remind you that we only support VCF up to version 5.1. We are actively working on moving up to 5.2.X
Code of Conduct
Terraform
1.7.2
Terraform Provider
0.11.0
VMware Cloud Foundation
5.2.1
Description
Edge Cluster creation fails with error
Affected Resources or Data Sources
resource\vcf_edge_cluster
Terraform Configuration
Snippet of HCL code is here. A link to internal repo will be provided through secure channels
Debug Output
Panic Output
No response
Expected Behavior
Successful creation of edge cluster
Actual Behavior
Fails to create edge cluster.
In the HCL file only compute_cluster_id is provided. There is no compute_cluster_name provided.
Steps to Reproduce
terraform apply with full HCL file
Environment Details
No response
Screenshots
No response
References
No response