Changeset View
Changeset View
Standalone View
Standalone View
proxmox/terraform/staging.tf
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | module "storage0" { | ||||
cores = "4" | cores = "4" | ||||
memory = "8192" | memory = "8192" | ||||
network = { | network = { | ||||
ip = "192.168.128.2" | ip = "192.168.128.2" | ||||
macaddr = "CA:73:7F:ED:F9:01" | macaddr = "CA:73:7F:ED:F9:01" | ||||
} | } | ||||
} | } | ||||
output storage0_out { | |||||
value = "${module.storage0.name} ${module.storage0.ip} ${module.storage0.macaddr}" | |||||
} | } | ||||
module "db0" { | |||||
source = "./modules/node" | |||||
hostname = "db0" | |||||
description = "swh db" | |||||
cores = "4" | |||||
memory = "16384" | |||||
network = { | |||||
ip = "192.168.128.3" | |||||
} | |||||
} | |||||
output db0_out { | |||||
value = "${module.db0.name} ${module.db0.ip} ${module.db0.macaddr}" | |||||
} | } |