-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r/vcf_edge_cluster
creation fails when compute_cluster_id
is set
#245
Comments
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. |
r/vcf_edge_cluster
creation fails when compute_cluster_id
is set
I cannot use compute_cluster_name instead of compute_cluster_id.
|
Please verify that v0.11.0 is in use because "The argument "compute_cluster_id" is required" would only be applicable before v0.11.0. Perhaps pin the version and test both and let's compare. |
It is, in fact, a regression that happened when I introduced I sneaked a fix in the API bump before this issue was reported https://github.com/vmware/terraform-provider-vcf/pull/246/files#diff-327c984054af451a57f7ac44d72654961c37d1e0f6273f7619bfe2a56bce752eR172 Using |
Using compute_cluster_name , I get this error
I guess , the only option now is to have a local provider excluding the regression |
You can pin the version pulled from the registry, too. |
That is alarming, do you mind sharing your configuration?
|
@spacegospod , |
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
The text was updated successfully, but these errors were encountered: