@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 <>
17 lines
327 B
HCL
17 lines
327 B
HCL
module "cluster" {
|
|
source = "../modules/cluster"
|
|
|
|
prefix = "clst"
|
|
zone = "de-fra1"
|
|
node_plan = "4xCPU-8GB"
|
|
node_count = 3
|
|
network_cidr = "10.100.0.0/24"
|
|
|
|
control_plane_ip_filter = ["0.0.0.0/0"] # TODO: restrict to known CIDRs
|
|
|
|
tags = {
|
|
Environment = "prod"
|
|
ManagedBy = "tofu"
|
|
}
|
|
}
|