@thomas.solbjor her er "import" av tofu fra ditt repo med justeringer for å tilpasse patterns her. Også minimalisert til å kun opprette cluster, ingen managed services som postgres etc. Ta en titt. Co-authored-by: Danijel Simeunovic <danijel.simeunovic@fortedigital.com> Reviewed-on: #15 Reviewed-by: Danijel Simeunovic <danijel.simeunovic@fortedigital.com> Co-authored-by: Ghost <> Co-committed-by: Ghost <>
18 lines
328 B
HCL
18 lines
328 B
HCL
module "cluster" {
|
|
source = "../modules/cluster"
|
|
|
|
project_id = var.project_id
|
|
region = var.region
|
|
prefix = "clst-dev"
|
|
|
|
# GKE — small dev nodes
|
|
node_machine_type = "e2-standard-2"
|
|
node_count = 2
|
|
deletion_protection = false
|
|
|
|
labels = {
|
|
environment = "dev"
|
|
managed-by = "tofu"
|
|
}
|
|
}
|