cloudamqp / terraform-provider-cloudamqp

Terraform Provider for CloudAMQP
https://registry.terraform.io/providers/cloudamqp/cloudamqp
Mozilla Public License 2.0
35 stars 39 forks source link

Fix PrivateLink/Private Service Connect import #250

Closed tbroden84 closed 10 months ago

tbroden84 commented 10 months ago

WHY are these changes introduced?

When importing PrivateLink or VPC Connect resource, instance_id (required) and sleep/timeout (optional) arguments are never set. Making Terraform destroy and re-create the resource every time, due to instance_id also use ForceNew behaviour.

Reference: https://github.com/cloudamqp/terraform-provider-cloudamqp/issues/249

WHAT is this pull request doing?

HOW can this pull request be tested?

Import PrivateLink or VPC Connect resource.

tbroden84 commented 10 months ago

Checked all other resources too and only these three resources fails to set the necessary instance_id.