Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ds_record to outputs #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }
}
Loading