thermograph/infra/terraform/outputs.tf

15 lines
390 B
Terraform
Raw Normal View History

output "prod_url" {
description = "Public URL of the production site."
value = "https://thermograph.org"
}
output "hosts" {
description = "Per-environment summary, keyed \"<host>-<environment>\" (vps2 carries two): the machine managed and the role running on it."
value = {
for name, mod in module.host : name => {
host = mod.host
role = mod.role
}
}
}