Skip to content

infra: add a custom domain for the ALB#103

Merged
kou merged 1 commit into
enactic:mainfrom
abetomo:add-route53-record
Jul 3, 2026
Merged

infra: add a custom domain for the ALB#103
kou merged 1 commit into
enactic:mainfrom
abetomo:add-route53-record

Conversation

@abetomo

@abetomo abetomo commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 3, 2026 01:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds DNS support for a custom domain by creating a Route53 alias A record that points the configured domain name at the Application Load Balancer (ALB), leveraging new ALB module outputs.

Changes:

  • Expose the ALB’s dns_name and zone_id via module outputs so other stacks can create alias records.
  • Create an aws_route53_record alias A record for var.domain_name in the provided hosted zone, targeting the ALB.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
infra/stack/main.tf Adds a Route53 alias A record mapping the configured domain to the ALB.
infra/modules/alb/outputs.tf Exposes ALB dns_name and zone_id needed for Route53 alias records.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kou kou merged commit 9999d4b into enactic:main Jul 3, 2026
2 checks passed
@abetomo abetomo deleted the add-route53-record branch July 3, 2026 01:14
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