From 5a6c7161f7a5f73b6451234128100c81083922f2 Mon Sep 17 00:00:00 2001 From: Joe Niland Date: Wed, 11 Sep 2024 14:21:21 +1000 Subject: [PATCH] Add ds_record to outputs - update docs --- README.md | 3 ++- docs/terraform.md | 1 + outputs.tf | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a8aa569..33619d4 100644 --- a/README.md +++ b/README.md @@ -230,6 +230,7 @@ Available targets: | Name | Description | |------|-------------| +| [ds\_record](#output\_ds\_record) | DS record for zone | | [key\_arn](#output\_key\_arn) | KMS key arn for Route53 DNSSEC CMK | | [this\_key\_arn](#output\_this\_key\_arn) | Deprecated: KMS key arn for Route53 DNSSEC CMK | @@ -287,7 +288,7 @@ In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow. ## Copyrights -Copyright © 2021-2022 [UnderGrid Network Services](https://undergrid.net) +Copyright © 2021-2024 [UnderGrid Network Services](https://undergrid.net) diff --git a/docs/terraform.md b/docs/terraform.md index d00f6aa..3733d02 100644 --- a/docs/terraform.md +++ b/docs/terraform.md @@ -59,6 +59,7 @@ | Name | Description | |------|-------------| +| [ds\_record](#output\_ds\_record) | DS record for zone | | [key\_arn](#output\_key\_arn) | KMS key arn for Route53 DNSSEC CMK | | [this\_key\_arn](#output\_this\_key\_arn) | Deprecated: KMS key arn for Route53 DNSSEC CMK | diff --git a/outputs.tf b/outputs.tf index 4342bc2..00699e5 100644 --- a/outputs.tf +++ b/outputs.tf @@ -7,3 +7,8 @@ output "key_arn" { description = "KMS key arn for Route53 DNSSEC CMK" value = module.kms_key.key_arn } + +output "ds_record" { + description = "DS records for each zone" + value = { for k, v in aws_route53_key_signing_key.this : k => v.ds_record } +} \ No newline at end of file