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

update statcan.alpha.canada.ca.tf #430

Closed
PaulMcGlincheyCA opened this issue Nov 7, 2024 · 1 comment
Closed

update statcan.alpha.canada.ca.tf #430

PaulMcGlincheyCA opened this issue Nov 7, 2024 · 1 comment

Comments

@PaulMcGlincheyCA
Copy link

Hi,

My dev team at Statcan would like to deploy an application to the alpha environment. I believe the following bit of code needs to be added to the file statcan.alpha.canada.ca.tf. I can submit a PR if that would be easier.

resource "aws_route53_record" "hazard-risk-search-ps-alpha-canada-ca-CNAME" {
zone_id = aws_route53_zone.alpha-canada-ca-public.zone_id
name = "hazard-risk-search.ps.alpha.canada.ca"
type = "CNAME"
records = [
"flood-risk-portal.prod.cloud.statcan.ca"
]
ttl = "300"
}

resource "aws_route53_record" "_acme-challenge-hazard-risk-search-ps-alpha-canada-ca-CNAME" {
zone_id = aws_route53_zone.alpha-canada-ca-public.zone_id
name = join(".", [local.acme_challenge, aws_route53_record.hazard-risk-search-ps-alpha-canada-ca-CNAME.name])
type = "CNAME"
records = [
join(".", [aws_route53_record.hazard-risk-search-ps-alpha-canada-ca-CNAME.name, local.challenges_subdomain])
]
ttl = "300"
}

resource "aws_route53_record" "recherche-aleas-risques-ps-alpha-canada-ca-CNAME" {
zone_id = aws_route53_zone.alpha-canada-ca-public.zone_id
name = "recherche-aleas-risques.ps.alpha.canada.ca"
type = "CNAME"
records = [
"flood-risk-portal.prod.cloud.statcan.ca"
]
ttl = "300"
}

resource "aws_route53_record" "_acme-challenge-recherche-aleas-risques-ps-alpha-canada-ca-CNAME" {
zone_id = aws_route53_zone.alpha-canada-ca-public.zone_id
name = join(".", [local.acme_challenge, aws_route53_record.recherche-aleas-risques-ps-alpha-canada-ca-CNAME.name])
type = "CNAME"
records = [
join(".", [aws_route53_record.recherche-aleas-risques-ps-alpha-canada-ca-CNAME.name, local.challenges_subdomain])
]
ttl = "300"
}

@patheard
Copy link
Member

patheard commented Nov 7, 2024

If you could put together a PR that would be much appreciated!

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

No branches or pull requests

2 participants