2024-09-25 11:23:52 +00:00
|
|
|
output "hosts" {
|
|
|
|
value = {
|
|
|
|
for subdomain in distinct([for record in ovh_domain_zone_record.server_records : record.subdomain]) :
|
|
|
|
subdomain => {
|
|
|
|
"ipv4_address" = try(
|
|
|
|
ovh_domain_zone_record.server_records["${subdomain}:ipv4"].target,
|
|
|
|
null
|
|
|
|
)
|
|
|
|
"ipv6_address" = try(
|
|
|
|
ovh_domain_zone_record.server_records["${subdomain}:ipv6"].target,
|
|
|
|
null
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-27 23:59:53 +00:00
|
|
|
output "postgresql_service_roles" {
|
|
|
|
value = postgresql_role.service_roles
|
|
|
|
sensitive = true
|
|
|
|
}
|
|
|
|
|
|
|
|
output "postgresql" {
|
|
|
|
value = {
|
|
|
|
"host" = var.postgresql_host
|
|
|
|
"port" = var.postgresql_port
|
|
|
|
}
|
|
|
|
}
|
2024-09-27 22:30:46 +00:00
|
|
|
|
2024-09-25 11:23:52 +00:00
|
|
|
output "scaleway_service_keys" {
|
|
|
|
value = scaleway_iam_api_key.service_keys
|
|
|
|
sensitive = true
|
|
|
|
}
|
2024-09-27 20:56:49 +00:00
|
|
|
|
2024-09-27 22:30:46 +00:00
|
|
|
output "scaleway_service_buckets" {
|
|
|
|
value = scaleway_object_bucket.service_buckets
|
|
|
|
}
|
|
|
|
|
2024-09-27 20:56:49 +00:00
|
|
|
output "scaleway_registry_endpoint_public" {
|
|
|
|
value = scaleway_registry_namespace.public.endpoint
|
|
|
|
}
|
|
|
|
|
|
|
|
output "scaleway_registry_endpoint_private" {
|
|
|
|
value = scaleway_registry_namespace.private.endpoint
|
|
|
|
}
|