This repository was archived by the owner on Mar 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
cluster modification is not allowed with couchbasecapella_vpc_cluster.cluster resource. #17
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi,
I was trying to modify one cluster but it seems that update is not supported. you can create cluster with the resource but any update is not supported.
provider version: V1.0.0
Use-case: Supposed you want to upgrade the size of instances you can't do it using this provider.
#terrform plan
# couchbasecapella_vpc_cluster.cluster will be updated in-place
~ resource "couchbasecapella_vpc_cluster" "cluster" {
id = "<cluster-id>"
name = "<cluster-name>"
# (2 unchanged attributes hidden)
+ servers {
+ services = [
+ "data",
+ "index",
+ "query",
]
+ size = 3
+ aws {
+ ebs_size_gib = 50
+ instance_size = "m5.xlarge"
}
}
- servers {
- services = [
- "data",
] -> null
- size = 3 -> null
- aws {
- ebs_size_gib = 50 -> null
- instance_size = "m5.xlarge" -> null
}
}
}
Plan: 0 to add, 1 to change, 0 to destroy.
# terraform apply
....
# couchbasecapella_vpc_cluster.cluster will be updated in-place
~ resource "couchbasecapella_vpc_cluster" "cluster" {
id = "<cluster-id>"
name = "<cluster-name>"
# (2 unchanged attributes hidden)
+ servers {
+ services = [
+ "data",
+ "index",
+ "query",
]
+ size = 3
+ aws {
+ ebs_size_gib = 50
+ instance_size = "m5.xlarge"
}
}
- servers {
- services = [
- "data",
] -> null
- size = 3 -> null
- aws {
- ebs_size_gib = 50 -> null
- instance_size = "m5.xlarge" -> null
}
}
}
Plan: 0 to add, 1 to change, 0 to destroy.
couchbasecapella_vpc_cluster.cluster: Modifying... [id=<cluster-id>]
╷
│ Error: doesn't support update
│
│ with couchbasecapella_vpc_cluster.cluster,
│ on main.tf line 11, in resource "couchbasecapella_vpc_cluster" "cluster":
│ 11: resource "couchbasecapella_vpc_cluster" "cluster" {
│
╵
Releasing state lock. This may take a few moments...
ERRO[0046] 1 error occurred:
* exit status 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working