vmware / terraform-provider-vra

Terraform Provider for VMware Aria Automation
https://registry.terraform.io/providers/vmware/vra/
Mozilla Public License 2.0
103 stars 90 forks source link

[Doc] Resource: vra_cloud_account_vsphere references incorrect argument for dcid #450

Closed GaryJBlake closed 1 year ago

GaryJBlake commented 2 years ago

Code of Conduct

This project has a Code of Conduct that all participants are expected to understand and follow:

vRA Version

vRA Cloud

Terraform Version

Terraform v1.2.4

Your version of Terraform is out of date! The latest version is 1.2.5. You can update by downloading from https://www.terraform.io/downloads.html

vRA Terraform Provider Version

Affected Resource(s)

vra_cloud_account_vsphere

Expected Behavior

Should not error

Actual Behavior

Steps to Reproduce

Create a terraform plan using:

dc_id = var.data_collector_name

instead of:

dcid = var.data_collector_name

image

Community Note

tenthirtyam commented 2 years ago

@frodenas - it seems that r/cloud_account_vsphere implemented the schema with dcid whereas the other relevant accounts (NSXv, NSX-T, and VMC) use dc_id in the schema. That is somewhat confusing and prone to error - perhaps it would be best to transition it to dc_id?

Ryan Johnson Staff II Solutions Architect | VMware, Inc.