vmware / terraform-provider-vra

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

Update resource_deployment.go to switch from blueprint to day2 action… #495

Closed an2ane closed 1 year ago

an2ane commented 1 year ago

… schema as blueprint API is based on Assembler rights only

an2ane commented 1 year ago

The previous change was working great, for people that had Assembler rights. However, our customers don't have this right. The update action has basically all the information needed to update an unreleased version of a catalog item.

gthieleb commented 11 months ago

an2ane: Is this helping with this one? #496

an2ane commented 11 months ago

an2ane: Is this helping with this one? #496

This was a fix I made for deployments based on a blueprint version no longer available (unrelease in Assembler). Before, when the version was not available, the provider exited in 404 error. Now, it checks the form based on the "Update" day-2 action.

I don't think this what you are looking for. If your account is not an Assembler Administrator/User, you won't be able to fetch the Blueprint template. With the Service Broker Administrator/User rights, you will only get the Catalog Item inputs.