Skip to content

Commit

Permalink
Add ds_record to outputs
Browse files Browse the repository at this point in the history
- update docs
  • Loading branch information
joe-niland committed Sep 12, 2024
1 parent ff4912d commit 5a6c716
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ Available targets:

| Name | Description |
|------|-------------|
| <a name="output_ds_record"></a> [ds\_record](#output\_ds\_record) | DS record for zone |
| <a name="output_key_arn"></a> [key\_arn](#output\_key\_arn) | KMS key arn for Route53 DNSSEC CMK |
| <a name="output_this_key_arn"></a> [this\_key\_arn](#output\_this\_key\_arn) | Deprecated: KMS key arn for Route53 DNSSEC CMK |
<!-- markdownlint-restore -->
Expand Down Expand Up @@ -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)



Expand Down
1 change: 1 addition & 0 deletions docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@

| Name | Description |
|------|-------------|
| <a name="output_ds_record"></a> [ds\_record](#output\_ds\_record) | DS record for zone |
| <a name="output_key_arn"></a> [key\_arn](#output\_key\_arn) | KMS key arn for Route53 DNSSEC CMK |
| <a name="output_this_key_arn"></a> [this\_key\_arn](#output\_this\_key\_arn) | Deprecated: KMS key arn for Route53 DNSSEC CMK |
<!-- markdownlint-restore -->
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}

0 comments on commit 5a6c716

Please sign in to comment.