Add the output.

This commit is contained in:
Andrea Dell'Amico 2024-05-02 18:25:21 +02:00
parent c7d923ee90
commit 9229d112ab
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 9 additions and 0 deletions

View File

@ -75,3 +75,12 @@ resource "openstack_dns_recordset_v2" "alertmanager_server_recordset" {
type = "CNAME"
records = [local.prometheus_recordset_name]
}
output "prometheus_public_ip_address" {
value = openstack_networking_floatingip_v2.prometheus_server_ip.address
}
output "prometheus_server_hostname" {
value = openstack_dns_recordset_v2.prometheus_server_recordset.name
}