We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcaaa9d commit f46913aCopy full SHA for f46913a
1 file changed
src/modules/landing-zone/outputs.tf
@@ -15,12 +15,12 @@ output "project_name" {
15
16
output "dns_zone_dns_name" {
17
description = "The DNS name of the landing zone's child DNS zone."
18
- value = var.dns_zone_name != null ? stackit_dns_zone.this[0].dns_name : null
+ value = try(stackit_dns_zone.this[0].dns_name, null)
19
}
20
21
output "dns_zone_id" {
22
description = "The ID of the landing zone's child DNS zone."
23
- value = var.dns_zone_name != null ? stackit_dns_zone.this[0].zone_id : null
+ value = try(stackit_dns_zone.this[0].zone_id, null)
24
25
26
output "connected_network_area_id" {
0 commit comments