- Next.js version of hello-yoga.co.uk website
- Amplify App
- DNS config managed by CloudFormation
aws cloudformation create-stack \
--stack-name 'hello-yoga-amplify' \
--template-body 'file://cloudformation-template.json' \
--tags 'Key=project,Value=hello-yoga-amplify' \
--region 'eu-west-2' \
--capabilities CAPABILITY_IAM \
--parameters ParameterKey=GitHubPersonalAccessToken,ParameterValue=GITHUBTOKENHERE \
\
--profile 'j4e'
% aws cloudformation create-stack --stack-name hello-yoga-amplify --template-body file://hello-yoga-amplify.json --tags 'Key=project,Value=hello-yoga-amplify' --region=eu-west-2
Created CloudFormation stack:
aws cloudformation create-stack --stack-name hello-yoga --template-body file://cloudformation.json --tags 'Key=project,Value=hello-yoga' --region=us-east-1
CloudFront only supports ACM certificates in the US East (N. Virginia) Region (us-east-1). Also the bucket URL is hard-coded to us-east-1.
--capabilities CAPABILITY_IAM is needed if making IAM changes
% aws cloudformation update-stack --stack-name hello-yoga --template-body file://cloudformation.json --tags 'Key=project,Value=hello-yoga' --region=us-east-1 --capabilities CAPABILITY_IAM
aws cloudformation create-stack --stack-name hello-yoga-amplify --template-body file://hello-yoga-amplify.json --tags 'Key=project,Value=hello-yoga-amplify' --region=eu-west-2