Skip to content

Commit

Permalink
chore(dnssec): adding dnssec output to request dnssec for xpto.io
Browse files Browse the repository at this point in the history
  • Loading branch information
kiraum committed Dec 9, 2024
1 parent 8c9e6fd commit aa3ba94
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions environments/prod/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
output "route53_dnssec_keys" {
value = module.route53.dnssec_key_signing_keys
description = "DNSSEC key signing key details for Route53 zones"
}
15 changes: 15 additions & 0 deletions modules/route53/output.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
output "ds_records" {
value = { for k, v in aws_route53_key_signing_key.key_signing_key : k => v.ds_record }
}

output "dnssec_key_signing_keys" {
value = {
for k, v in aws_route53_key_signing_key.key_signing_key : k => {
key_tag = v.key_tag
digest_algorithm_mnemonic = v.digest_algorithm_mnemonic
digest_algorithm_type = v.digest_algorithm_type
digest_value = v.digest_value
public_key = v.public_key
signing_algorithm_mnemonic = v.signing_algorithm_mnemonic
signing_algorithm_type = v.signing_algorithm_type
}
}
description = "DNSSEC key signing key details for each domain"
}

0 comments on commit aa3ba94

Please sign in to comment.