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

Adding or removing server entries replaces the entire cluster #32

Description

@FransGabro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions