terraform: always use uniform role names (#1960)

This commit is contained in:
Malte Poll 2023-06-23 12:08:30 +02:00 committed by GitHub
parent 114103c46b
commit 92cd9c1dac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 40 additions and 38 deletions

View file

@ -75,7 +75,7 @@ func TestGCPClusterVariables(t *testing.T) {
Debug: true,
NodeGroups: map[string]GCPNodeGroup{
"control_plane_default": {
Role: "ControlPlane",
Role: "control-plane",
StateDiskSizeGB: 30,
InitialCount: 1,
Zone: "eu-central-1a",
@ -83,7 +83,7 @@ func TestGCPClusterVariables(t *testing.T) {
DiskType: "pd-ssd",
},
"worker_default": {
Role: "Worker",
Role: "worker",
StateDiskSizeGB: 10,
InitialCount: 1,
Zone: "eu-central-1b",
@ -106,7 +106,7 @@ node_groups = {
disk_type = "pd-ssd"
initial_count = 1
instance_type = "n2d-standard-4"
role = "ControlPlane"
role = "control-plane"
zone = "eu-central-1a"
}
worker_default = {
@ -114,7 +114,7 @@ node_groups = {
disk_type = "pd-ssd"
initial_count = 1
instance_type = "n2d-standard-8"
role = "Worker"
role = "worker"
zone = "eu-central-1b"
}
}