Closed nsabernierdev1 closed 1 year ago
@nsabernierdev1 Can you provide more information? like which field causes the recreation.
Yes, here is the ouput: Terraform will perform the following actions: # flexibleengine_sdrs_protectedinstance_v1.instance_redis must be replaced -/+ resource "flexibleengine_sdrs_protectedinstance_v1" "instance_redis" { + description = "server redis" # forces replacement + group_id = "1b7bb5e2-3420-4e87-a782-72e639d0d9eb" # forces replacement ~ id = "564206c7-a5c1-4b0c-bef6-11b94c8d54c5" -> (known after apply) + name = "instance_redis" server_id = "4d8a7091-aa38-4044-bddc-61b47ebd65c0" + target_server = (known after apply) } Plan: 1 to add, 0 to change, 1 to destroy.
Hi, After looking into the terraform logs, I noticed that the issue is at the API level and not at the provider level.
The issue is coming from the fact that the second parrallel get command response is empty.
I will open a case at Flexible engine support.
As a temporary workaround I have added a depends_on beween SDRS resources.
Thanks,
@antonin-a @DafuSHI ^
I'm asking R&D SDRS taking a look, will give a feedback soon
Any feedback ?
@sbernier-corp @nsabernierdev1 It seems that the issue wad fixed by API server, please try it again.
I will close it temporarily. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Hi there,
Terraform Version
12.18
Affected Resource(s)
Steps to Reproduce
Crate a terraform project with two protection group or/and two protection instances
terraform apply
terraform plan
It always says it wants to recreate the second group or second instance