You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After changing from catalog_name/template_name to vapp_catalog_id in the vcd_vapp_vm resource the vm is destroyed and recreated
I removed the resource from the state file and import the resource back in the state file
After the import the vapp_template_id is not added to the state file still forcing a recreate of the vcd_vapp_vm resource
Hi
Please have a look at the changes made in PR #1274. It would be helpful if you could test your issue by building the terraform-provider-vcd from that branch and seeing if it solves the problem.
Hello,
After changing from catalog_name/template_name to vapp_catalog_id in the vcd_vapp_vm resource the vm is destroyed and recreated
I removed the resource from the state file and import the resource back in the state file
After the import the vapp_template_id is not added to the state file still forcing a recreate of the vcd_vapp_vm resource
Terraform Version
Terraform v1.6.4
on windows_amd64
Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Expected Behavior
vapp_template_id present in the state file after importing the vcd_vapp_vm resource
Actual Behavior
vapp_template_id is missing forcing a recreate of the vcd_vapp_vm
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform state rm vcd_vapp_vm.vm
terraform import vcd_vapp_vm.vm
terraform state show vcd_vapp_vm.vm
User Access rights
Information about user used. Role and/or more exact rights if it is customized.
Important Factoids
Is there anything atypical about your accounts that we should know?
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
The text was updated successfully, but these errors were encountered: