We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4643ac commit e805c4aCopy full SHA for e805c4a
cicd/3-app/aiproxy/template.yml
@@ -28,12 +28,12 @@ Resources:
28
Domain:
29
Type: AWS::Route53::RecordSet
30
Properties:
31
- HostedZoneName: !Sub "${BaseDomainName}."
+ HostedZoneId: !Ref HostedZone
32
Name: !Sub "${SubdomainName}.${BaseDomainName}"
33
Type: A
34
- TTL: 300
35
- ResourceRecords:
36
- - 8.8.8.8
+ AliasTarget:
+ DNSName: !GetAtt LoadBalancer.DNSName
+ HostedZoneId: !GetAtt LoadBalancer.CanonicalHostedZoneID
37
38
LoadBalancer:
39
Type: AWS::ElasticLoadBalancingV2::LoadBalancer
0 commit comments