File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"Parameters" : {
3
- "BaseDomainName" : " code.org"
3
+ "BaseDomainName" : " code.org" ,
4
+ "BaseDomainNameHostedZonedID" : " Z2LCOI49SCXUGU"
4
5
},
5
6
"Tags" : {
6
7
"EnvType" : " production"
Original file line number Diff line number Diff line change 1
1
{
2
2
"Parameters" : {
3
- "BaseDomainName" : " code.org"
3
+ "BaseDomainName" : " code.org" ,
4
+ "BaseDomainNameHostedZonedID" : " Z2LCOI49SCXUGU"
4
5
},
5
6
"Tags" : {
6
7
"EnvType" : " test"
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ Parameters:
5
5
BaseDomainName :
6
6
Type : String
7
7
Description : Base domain name (e.g. 'code.org' in 'aiproxy.code.org').
8
+ BaseDomainNameHostedZonedID :
9
+ Type : String
10
+ Description : AWS Route53 Hosted Zone ID for base domain name.
8
11
SubdomainName :
9
12
Type : String
10
13
Description : Subdomain name for aiproxy service (e.g. 'aiproxy' in 'aiproxy.code.org').
@@ -31,7 +34,7 @@ Resources:
31
34
NSRecord :
32
35
Type : AWS::Route53::RecordSet
33
36
Properties :
34
- HostedZoneName : code.org
37
+ HostedZoneId : !Ref BaseDomainNameHostedZonedID
35
38
Name : !Sub "${SubdomainName}.${BaseDomainName}."
36
39
Type : NS
37
40
TTL : 300
You can’t perform that action at this time.
0 commit comments