Open jskirde opened 1 year ago
using terraform untaint vra_deployment.vm
could help you to keep latest state. even after untaint i tried to add disk its not working.
Still happens with
vRA Version 8.17.0.35214 (23831516)
Terraform Version v1.9.5
vRA Terraform Provider Version 0.8.6
vRA Version
8.7.0.21169 (19508505)
Terraform Version
v1.3.2
vRA Terraform Provider Version
0.5.2
Affected Resource(s)
vra_deployment
Terraform Configuration Files
tfvar file is initially set with :
but then after the build, update it:
Expected Behavior
A disk should have been added (it was) and the state should have been updated with the last_request return (resource_ids and status) but it wasn't. When no changes are made to the input, and the resources haven't drifted, no state drift or resource changes should be required.
Actual Behavior
Terraform advised "Note: Objects have changed outside of Terraform" and indicates the vra_deployment resource has changed in both the last_request and resources attributes and shows a diff that is not representative of the actions that will be takes (it shows a complete removal of the virtual machine
Unless you have made equivalent changes to your configuration, or ignored the relevant attributes using ignore_changes, the following plan may include actions to undo or respond to these changes.
Steps to Reproduce
Debug Output
N/A
Panic Output
N/A
Important Factoids
N/A
References
N/A
Community Note