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 { | # output storage0_out { | ||||
value = "${module.storage0.name} ${module.storage0.ip} ${module.storage0.macaddr}" | # value = "${module.storage0.name} ${module.storage0.ip} ${module.storage0.macaddr}" | ||||
} | # } | ||||
module "db0" { | module "db0" { | ||||
source = "./modules/node" | source = "./modules/node" | ||||
hostname = "db0" | hostname = "db0" | ||||
description = "swh db" | description = "swh db" | ||||
cores = "4" | cores = "4" | ||||
memory = "16384" | memory = "16384" | ||||
network = { | network = { | ||||
ip = "192.168.128.3" | ip = "192.168.128.3" | ||||
macaddr = "3A:65:31:7C:24:17" | |||||
} | } | ||||
} | } | ||||
output storage0_summary { | |||||
value = "${module.storage0.summary}" | |||||
} | |||||
output db0_out { | output db0_summary { | ||||
value = "${module.db0.name} ${module.db0.ip} ${module.db0.macaddr}" | value = "${module.db0.summary}" | ||||
} | } |