-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated outputs to match for_each changes
- Loading branch information
1 parent
2b3bd6b
commit 86ee36b
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
output "name_servers" { | ||
value = aws_route53_zone.zone.name_servers | ||
description = "A map of zones and their list of name servers." | ||
value = { | ||
for zone in aws_route53_zone.zone : zone.name => zone.name_servers | ||
} | ||
} | ||
|
||
output "zone_id" { | ||
value = aws_route53_zone.zone.zone_id | ||
description = "A map of zones and their zone IDs." | ||
value = { | ||
for zone in aws_route53_zone.zone : zone.name => zone.zone_id | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters