ugns/terraform-aws-route53-dnssec

AlreadyExistsException: An alias with the name ... alias/ksk already exists

Closed this issue · 1 comments

bsuv commented

Found a bug? Maybe our Slack Community can help.

Slack Community

Describe the Bug

Enabling DNSSEC on a separate public hosted zone within the same AWS account

Expected Behavior

The expected behavior is that the alias is also unique and randomly generated so that name collisions do not exist

Steps to Reproduce

Steps to reproduce the behavior:

  1. Instantiate the module on one hosted zone and apply all the changes
  2. Instantiate the module on another/separate hosted zone and (try) to apply the changes
  3. When the KMS key needs to be created the 'AlreadyExists' error is thrown

Screenshots

If applicable, add screenshots or logs to help explain your problem.

Environment (please complete the following information):

Anything that will help us triage the bug will help. Here are some ideas:

  • OS: Atlantis
  • Version: Terraform v1.5.6, Atlantis v0.23.5-alpine, terraform-aws-route53-dnssec v1.1.0

Additional Context

Add any other context about the problem here.

bsuv commented

nevermind, I should have just passed the other zone to the map of maps...