scylladb / terraform-provider-scylladbcloud

Terraform provider for ScyllaDB Cloud.
https://registry.terraform.io/providers/scylladb/scylladbcloud/latest
Apache License 2.0
11 stars 10 forks source link

fix(vpc-peering): delete state when object is deleted from the scylla cloud #138

Closed dkropachev closed 8 months ago

dkropachev commented 8 months ago

Closes #137

Covers two scenarios: First scenario

  1. Cluster and VPC Peering is created by terraform
  2. VPC Peering is deleted, on the scylla cloud via something else but terraform.
  3. terraform apply, that should recreate it

Second scenario

  1. Cluster and VPC Peering is created by terraform
  2. Cluster is deleted, on the scylla cloud via something else but terraform.
  3. terraform apply, that should recreate it