Closed Saeden closed 1 month ago
Hello @Saeden, this is indeed not an expected behavior, we'll check quickly what can be done.
A fix will be available in the next release (coming shortly), don't hesitate to open another issue if your problem persists.
Thanks so much! Sorry for my late reply, GH did not notify me that there were replies to this issue
Describe the bug
We are trying to import an existing cloud project into terraform. We have the correct order number and the import is successful, however, when running
terraform plan
it shows that we have to replace the project and everything inside it because theplan
andovh_subsidiary
objects are added. I assume this is not intended behaviour. The nodepools are also forced replacement because thekube_id
andservice_name
are changed due to the replacement of thecloud_project
.Terraform Version
v1.6.6
OVH Terraform Provider Version
v0.45.0
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
The resources should be completed imported without forcing replacement.
Actual Behavior
After importing the resource it is forced to be replaced.
Steps to Reproduce
terraform import ovh_cloud_project.prd_project ******(order_id)
terraform plan