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

vra_project shared_resources = false not configured on project #438

Closed chunkyen closed 1 year ago

chunkyen 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 8.8

Terraform Version

1.1.9

vRA Terraform Provider Version

0.5.1

Affected Resource(s)

vra_project

Terraform Configuration Files

shared_resources = false

# Copy-paste your Terraform configurations here.
# For large Terraform configs, please use a service like Dropbox and share a link to the ZIP file.

Expected Behavior

The settings for "Deployments are shared between all users in the project" should be unchecked.

Actual Behavior

The settings for "Deployments are shared between all users in the project" are not unchecked.

Steps to Reproduce

After running terraform apply with the above parameters and value, the GUI on vRA still shows "Deployments are shared between all users in the project" even though it says the settings will be changed in the terraform apply output. See below

vra_project.this will be updated in-place ~ resource "vra_project" "this" { id = "c7855a2c-0dab-4a6a-98aa-878b941a310c" name = "Myproject1" ~ shared_resources = true -> false

(7 unchanged attributes hidden)

   # (3 unchanged blocks hidden)

}

Plan: 0 to add, 1 to change, 0 to destroy.

Screenshots

Debug Output

Panic Output

Important Factoids

References

Community Note

frodenas commented 1 year ago

There was a bug at the vra-sdk-go, this has been solved at #468