-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating catalog_item_version
forces new rather than updating
#509
Comments
Specifying a version will automatically replace the current deployment. I've never seen otherwise. I tried through the UI, and I have the same behavior. It wants to re-create the machine. Pretty sure this is by design and how vRA handles versions. |
Just tested this and when catalog_item_version is removed it still triggers a destroy and rebuild. |
Yes, this is how it is done by design. You cannot upgrade to a newer version on AA8.x. If you want to do so, you have to rebuild entirely your deployment. You can check this easily on AA, by going on our Cloud Template in the "Design" tab, click "Deploy", on the dropdown, select "Update deployment", select the deployment you want to update on the latest version of your CT, and see that it will rebuild your deployment. |
I don't know about the OP but for me I have several hundred servers all deployed using data "vra_blueprint" instead of "vra_catalog_item". Unfortunately blueprint deployments are now broken with the latest version of VRA (see here: #505) and switching over to use catalog_item would be a potential fix except that it will destroy the server and rebuild it. This is slightly less then ideal (a little smidge of sarcasm). I do appreciate the additional information though, thank you. |
catalog_item_version
forces new rather than updating
Code of Conduct
This project has a Code of Conduct that all participants are expected to understand and follow:
vRA Version
8.11
Terraform Version
1.5.7
vRA Terraform Provider Version
0.8.3
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Existing deployment will be updated to link with version 26.1 of the Cloud Template/Catalog Item
Actual Behavior
Plan reports that an update to the catalog_item_version will force a replacement of the deployment and that there is 1 to add, 0 to change, 1 to destroy
Steps to Reproduce
Screenshots
Debug Output
N/A
Panic Output
N/A
Important Factoids
N/A
References
N/A
Community Note
The text was updated successfully, but these errors were encountered: