Changeset View
Changeset View
Standalone View
Standalone View
proxmox/terraform/production/production.tf
module "kelvingrove" { | module "kelvingrove" { | ||||
source = "../modules/node" | source = "../modules/node" | ||||
config = local.config | config = local.config | ||||
hostname = "kelvingrove" | hostname = "kelvingrove" | ||||
description = "Keycloak server" | description = "Keycloak server" | ||||
hypervisor = "hypervisor3" | hypervisor = "hypervisor3" | ||||
cores = "4" | cores = "4" | ||||
▲ Show 20 Lines • Show All 154 Lines • ▼ Show 20 Lines | networks = [{ | ||||
macaddr = "B2:E5:3F:E2:77:13" | macaddr = "B2:E5:3F:E2:77:13" | ||||
bridge = local.config["bridge"] | bridge = local.config["bridge"] | ||||
}] | }] | ||||
} | } | ||||
output "scrubber1_summary" { | output "scrubber1_summary" { | ||||
value = module.scrubber1.summary | value = module.scrubber1.summary | ||||
} | } | ||||
module "maven-exporter" { | |||||
source = "../modules/node" | |||||
template = var.templates["stable-zfs"] | |||||
config = local.config | |||||
hostname = "maven-exporter" | |||||
description = "Maven index exporter to run containers and expose export.fld files" | |||||
hypervisor = "pompidou" | |||||
sockets = "1" | |||||
cores = "4" | |||||
onboot = true | |||||
memory = "4096" | |||||
balloon = "2048" | |||||
networks = [{ | |||||
id = 0 | |||||
ip = "192.168.100.10" | |||||
gateway = local.config["gateway_ip"] | |||||
bridge = local.config["bridge"] | |||||
macaddr = "D2:7E:0B:35:89:FF" | |||||
}] | |||||
storages = [{ | |||||
storage = "proxmox" | |||||
size = "20G" | |||||
}, { | |||||
storage = "proxmox" | |||||
size = "50G" | |||||
} | |||||
] | |||||
} |