Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Adding or removing server entries replaces the entire cluster #32

Open
FransGabro opened this issue Nov 11, 2022 · 0 comments
Open

Adding or removing server entries replaces the entire cluster #32

FransGabro opened this issue Nov 11, 2022 · 0 comments

Comments

@FransGabro
Copy link

FransGabro commented Nov 11, 2022

When trying to add or remove a server entry, terraform wants to replace the existing cluster with a new one with the new configurations. Isn't it better if the cluster just updates?

Terraform will perform the following actions:
  # example-cluster must be replaced
-/+ resource "couchbasecapella_hosted_cluster" "adtr-cluster" {
      ~ id         = "redacted" -> (known after apply)
        name       = "redacted"
        # (1 unchanged attribute hidden)
      + servers { # forces replacement
          + compute  = "m5.xlarge"
          + services = [
              + "query",
            ]
          + size     = 3
          + storage {
              + iops         = 3000
              + storage_size = 100
              + storage_type = "GP3"
            }
        }
        # (4 unchanged blocks hidden)
    }
Plan: 1 to add, 0 to change, 1 to destroy.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant