Keys should be rotated annually.
To do so:
dnssec.tf
:. Uncomment the _#
resources, where #
is an incremental update, but do not update the aws_route53_hosted_zone_dnssec
or aws_route53_record
resources yet.terragrunt apply
those resources to create a new KMS key and DNSSEC signing key.dnssec.tf
with the aws_route53_hosted_zone_dnssec
and aws_route53_record
updated the latest #
.In 2-7 days, come back and remove the previous _#
resources. Do future engineers a favor and create a copy just like you had.