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"
}
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" }