Changeset View
Changeset View
Standalone View
Standalone View
proxmox/terraform/production/production.tf
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | networks = [{ | ||||
bridge = local.config["bridge"] | bridge = local.config["bridge"] | ||||
}] | }] | ||||
} | } | ||||
output "scrubber1_summary" { | output "scrubber1_summary" { | ||||
value = module.scrubber1.summary | value = module.scrubber1.summary | ||||
} | } | ||||
module "migration" { | |||||
source = "../modules/node" | |||||
config = local.config | |||||
hostname = "migration" | |||||
description = "Migration" | |||||
hypervisor = "uffizi" | |||||
sockets = "1" | |||||
cores = "4" | |||||
memory = "16192" | |||||
networks = [{ | |||||
id = 0 | |||||
ip = "192.168.100.140" | |||||
gateway = local.config["gateway_ip"] | |||||
bridge = local.config["bridge"] | |||||
}] | |||||
storages = [{ | |||||
storage = "proxmox" | |||||
size = "20G" | |||||
}, { | |||||
storage = "proxmox" | |||||
size = "20G" | |||||
} | |||||
] | |||||
} | |||||
output "migration_summary" { | |||||
value = module.migration.summary | |||||
} | |||||
module "maven-exporter" { | module "maven-exporter" { | ||||
source = "../modules/node" | source = "../modules/node" | ||||
template = var.templates["stable-zfs"] | template = var.templates["stable-zfs"] | ||||
config = local.config | config = local.config | ||||
hostname = "maven-exporter" | hostname = "maven-exporter" | ||||
description = "Maven index exporter to run containers and expose export.fld files" | description = "Maven index exporter to run containers and expose export.fld files" | ||||
hypervisor = "pompidou" | hypervisor = "pompidou" | ||||
sockets = "1" | sockets = "1" | ||||
Show All 22 Lines |