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

Failure to delete hosted zone (records not removed) #56

Open
peter-svensson opened this issue Feb 1, 2023 · 0 comments
Open

Failure to delete hosted zone (records not removed) #56

peter-svensson opened this issue Feb 1, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@peter-svensson
Copy link
Member

When using alb_ssl_policy to specify a TLS policy for the ALB (using the ingress controller) in conjunction with external-dns perhaps from the addon, a DNS record will be created in the hosted zone.
If the hosted zone is managed by Terraform (it should), it's not possible to delete the hosted zone resource since it contains records not managed/removed by Terraform. It can be mitigated by setting [force-destroy] https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_zone#force_destroy) to true on the hosted zone resource.

If force-destroy is not set to true the records will have to be deleted manually before removing the zone.

@peter-svensson peter-svensson added the documentation Improvements or additions to documentation label Feb 1, 2023
@peter-svensson peter-svensson changed the title Route53 records not removed Failure to delete hosted zone (records not removed) Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant