Skip to content

Instantly share code, notes, and snippets.

@li0nel
Last active January 1, 2019 06:03
Show Gist options
  • Save li0nel/e1dadce5f4287307ac965bd8e4c36bac to your computer and use it in GitHub Desktop.
Save li0nel/e1dadce5f4287307ac965bd8e4c36bac to your computer and use it in GitHub Desktop.
# Create your CloudFormation stack from scratch using the create-stack command
aws cloudformation create-stack
--stack-name=laravel
--template-body=file://master.yaml
--capabilities CAPABILITY_NAMED_IAM
--parameters
ParameterKey=CloudFrontOAI,ParameterValue=origin-access-identity/cloudfront/YOUR_CF_OAI_HERE
ParameterKey=CertificateArnCF,ParameterValue=arn:aws:acm:us-east-1:your_cloudfront_certificate_arn_here
ParameterKey=CertificateArn,ParameterValue=arn:aws:acm:us-east-1:your_certificate_arn_here
ParameterKey=BaseUrl,ParameterValue=laravelaws.com
ParameterKey=DBMasterPwd,ParameterValue=your_master_db_pwd_here
ParameterKey=ECSInstanceType,ParameterValue=t2.micro
ParameterKey=ECSDesiredCount,ParameterValue=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment