Skip to content

Commit bb5516b

Browse files
committed
Fix template
1 parent 500c2c3 commit bb5516b

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

dns-template.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,15 @@ Resources:
2727
TTL: 60
2828
Type: CNAME
2929
ResourceRecords:
30-
- !GetAtt RestApiDomain.RegionalDomainName
30+
- !GetAtt RestApiDomain.DistributionDomainName
3131
RestApiDomain:
3232
Type: AWS::ApiGateway::DomainName
3333
Properties:
3434
DomainName: !Sub
3535
- ${SubDomain}.${Domain}
3636
- SubDomain: !Ref SubDomain
3737
Domain: !Ref Doamin
38-
EndpointConfiguration:
39-
Types:
40-
- REGIONAL
41-
RegionalCertificateArn: !Ref CertificateArn
38+
CertificateArn: !Ref CertificateArn
4239
ApiBasePathMapping:
4340
Type: AWS::ApiGateway::BasePathMapping
4441
Properties:

serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ provider:
44
name: aws
55
region: ${env:AWS_DEFAULT_REGION}
66
runtime: python3.7
7-
stage: ${env:ALIS_APP_ID}
7+
stage: production
88
endpointType: regional
99
memorySize: 256
1010
environment:

0 commit comments

Comments
 (0)