Skip to content

feat: Allows lookup of private hosted zones #137

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mike-carey
Copy link
Contributor

@mike-carey mike-carey commented Jun 2, 2025

Description

Adds a private_zone input and passes along to the DNS zone lookup.

Note that certificate validation and private_zone are mutually exclusive as AWS cert validation requires public DNS records. Something we do is create the private DNS zone and then create a public DNS entry for the validation but requires the private zone to be a subdomain of a public one.

Motivation and Context

Our sandbox account does not have a public DNS zone and we would like to use this module using our private DNS.

Breaking Changes

No

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

I do not believe there is a way I can add to the examples without expecting both a public and private DNS domain. I can add a variable for the private domain, but then it requires two domains. I can do so if desired.

As for testing this against something, we are currently using this for our API Gateway with a private DNS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants