File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -108,5 +108,5 @@ $ aws cloudformation update-stack --stack-name <スタック名> --template-url
108108APIをデプロイ後にdns-templateのスタックをデプロイすることでドメインが割り当てられます
109109
110110```
111- aws cloudformation deploy --stack-name <スタック名> --template /path/to/dns-template.yml --capabilities '["CAPABILITY_AUTO_EXPAND"]' --parameter-overrides Doamin=<ネイキッドドメイン> SubDomain=<サブドメイン> HostedZoneId=<Route53のゾーンID> RestApiId=<割り当てたいAPIのID> CertificateArn=<ACMで発行した証明書のARN>
111+ aws cloudformation deploy --stack-name <スタック名> --template /path/to/dns-template.yml --capabilities '["CAPABILITY_AUTO_EXPAND"]' --parameter-overrides AlisAppId=$ALIS_APP_ID Doamin=<ネイキッドドメイン> SubDomain=<サブドメイン> HostedZoneId=<Route53のゾーンID> RestApiId=<割り当てたいAPIのID> CertificateArn=<ACMで発行した証明書のARN>
112112```
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ AWSTemplateFormatVersion: '2010-09-09'
22Description : OAuth API Domain
33
44Parameters :
5+ AlisAppId :
6+ Type : String
57 Doamin :
68 Type : String
79 Default : alis.to
@@ -44,7 +46,7 @@ Resources:
4446 - SubDomain : !Ref SubDomain
4547 Domain : !Ref Doamin
4648 RestApiId : !Ref RestApiId
47- Stage : production
49+ Stage : !Ref AlisAppId
4850 DependsOn :
4951 - RestApiRecordSet
5052 - RestApiDomain
You can’t perform that action at this time.
0 commit comments