-
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.
improved route53/zone module scalability (#44)
* improved route53/zone module scalability * Continuous Integration - terraform fmt and terraform-docs * simplified the api for zone * Continuous Integration - terraform fmt and terraform-docs * updated outputs to match for_each changes * Continuous Integration - terraform fmt and terraform-docs * renaming the output * Continuous Integration - terraform fmt and terraform-docs * added new documentation --------- Co-authored-by: zachreborn <zachreborn@users.noreply.github.com>
- Loading branch information
1 parent
f2e60ff
commit 272ab0b
Showing
4 changed files
with
73 additions
and
36 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
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
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 | ||
output "zone_ids" { | ||
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