Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions org-formation/800-redirects/_tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -405,3 +405,21 @@ ModelAdExplorerProdAppDnsForward:
SourceHostedZoneId: "Z038526037U7WWZ1418M6"
# the value of the CNAME record
TargetHostName: !CopyValue ['model-ad-prod-load-balancer-dns', !Ref AgoraProdAccount]

# Issue IT-4498, redirect treat-ad.org to treatad.org
TreatAdApexRedirect:
Type: update-stacks
Template: https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra/v0.4.8/templates/s3-redirector.yaml
StackName: !Sub '${resourcePrefix}-treatad-redirect'
StackDescription: Setup a redirect from treat-ad.org to treatad.org
DefaultOrganizationBindingRegion: !Ref primaryRegion
DefaultOrganizationBinding:
Account: !Ref SageITAccount
Parameters:
# the endpoint we are redirecting from
SourceHostName: "treat-ad.org"
SourceAcmCertificateArn: "arn:aws:acm:us-east-1:797640923903:certificate/278a1102-c60d-4f51-81c0-6b1ca767945d"
# ID of the sageit.org zone (in sageit account)
SourceHostedZoneId: "Z08344463B10GP0C3L4G6"
# the endpoint we are redirecting to (AWS VPN client self service)
TargetHostName: "treatad.org"