vmware / terraform-provider-vcf

Terraform Provider for VMware Cloud Foundation
https://registry.terraform.io/providers/vmware/vcf/
Mozilla Public License 2.0
22 stars 9 forks source link

Example file has a non working key name in vcf_edge_cluster.tf #131

Closed pradeep17j closed 7 months ago

pradeep17j commented 7 months ago

Code of Conduct

Terraform

v1.7.5

Terraform Provider

v0.8.1

VMware Cloud Foundation

5.2

Description

edge_node { cluster_id = var.compute_cluster_id

Does not work

It needs to be changed to

edge_node {

compute_cluster_id = var.compute_cluster_id

to work.

Affected Resources or Data Sources

resource/edge_cluster

Terraform Configuration

edge_node { name = "nsxt-edge-node-1.vrack.vsphere.local" cluster_id = "b4222de4-66fb-4c6f-bee6-d3fc2d449edd" root_password = "VMWare123!VMware123!"

Debug Output

A code walk though should be able to find the issue here

Panic Output

No response

Expected Behavior

Edge cluster creation should succeed

Actual Behavior

Fails because the compute_cluster_id key is not found

Steps to Reproduce

terraform apply

Environment Details

No response

Screenshots

No response

References

No response

github-actions[bot] commented 6 months ago

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.