Closed MichalZezula closed 3 years ago
Hi @MichalZezula I am not able to reproduce it with the latest version. Can you please verify it once again?
Hello, Just to be sure I've updated Terraform to the very latest version -> 14.6 . I've tried it again but seeing the same result. I've also tried to define project in terraform with multiple zone assignments and this seems to work perfectly fine. But when I try to fetch these informations using data resource I'm seeing only one of the assignments.
@MichalZezula I could reproduce this issue. This looks like a terraform issue and not a provider issue. In the schema, zone_assignments is a TypeSet that might be causing all the zones to be not saved in the state file. I changed the data type to TypeList and it works fine. I have opened a terraform bug for this https://github.com/hashicorp/terraform/issues/28169
There was a similar issue opened before as well https://github.com/hashicorp/terraform/issues/21157
However, I will do some more testing to see nothing breaks before changing it to TypeList.
Thanks, Prativa
The PR for this fix is merged https://github.com/vmware/terraform-provider-vra/pull/315 It will be available in the next release.
vRA version vRealize Automation 8.2.0.13070 (17151459) Terraform version Terraform v0.14.5 terraform-provider-vra plugin version provider registry.terraform.io/vmware/vra v0.3.4
Describe the bug zone_assignments in vra_project data resource do not display more than one zone assignment
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect to see all zone assignments as visible in web ui
Screenshots
Desktop (please complete the following information):