25 lines
770 B
Terraform
25 lines
770 B
Terraform
output "caddy_public_ip" {
|
|
description = "Public IPv4 address of the Caddy server"
|
|
value = gridscale_ipv4.public_ipv4.ip
|
|
}
|
|
|
|
output "monitoring_public_ip" {
|
|
description = "Public IPv4 address of the Monitoring server"
|
|
value = gridscale_ipv4.public_ipv4_monitoring.ip
|
|
}
|
|
|
|
output "caddy_private_ip" {
|
|
description = "Private IPv4 address of the Caddy server"
|
|
value = gridscale_server.server_caddy.network[1].auto_assigned_ip
|
|
}
|
|
|
|
output "monitoring_private_ip" {
|
|
description = "Private IPv4 address of the Monitoring server"
|
|
value = gridscale_server.server_monitoring.network[1].auto_assigned_ip
|
|
}
|
|
|
|
output "ansible_inventory" {
|
|
description = "Generated Ansible inventory content"
|
|
value = local_file.ansible_inventory.content
|
|
}
|