nutanix / terraform-provider-nutanix

Terraform Nutanix Provider
https://www.terraform.io/docs/providers/nutanix/
Mozilla Public License 2.0
99 stars 112 forks source link

availability_zone_reference not returning in nutanix_clusters #573

Closed davemays closed 1 year ago

davemays commented 1 year ago

Nutanix Cluster Information

2022.9 and 6.6

Terraform Version

Affected Resource(s)

Terraform v1.4.2 on windows_amd64

Terraform Configuration Files

data "nutanix_clusters" "nutanix_clusters" {}

output "cluster" { value = data.nutanix_clusters.nutanix_clusters }

Debug Output

Panic Output

Expected Behavior

It should output "availability_zone_reference" in the output of the value.

Actual Behavior

value is not in the output display.

Steps to Reproduce

terraform plan

Important Factors

abhimutant commented 1 year ago

Hi @davemays , availability_zone_reference is not returned by clusters API.

davemays commented 1 year ago

It lists it in the API docs. Here https://registry.terraform.io/providers/nutanix/nutanix/latest/docs/data-sources/clusters.

Under Entities:

availability_zone_reference: - The reference to a availability_zone.

abhimutant commented 1 year ago

You can verify the API response using the command: export TF_LOG=TRACE . It seems this field is added extra in API doc.

abhimutant commented 1 year ago

Closing this issue as no response from last 30 days.