An open API service indexing awesome lists of open source software.

https://github.com/toggle-corp/static-cloudformation-template

A template repository with aws cloudformation settings for static web pages
https://github.com/toggle-corp/static-cloudformation-template

Last synced: 3 months ago
JSON representation

A template repository with aws cloudformation settings for static web pages

Awesome Lists containing this project

README

        

# static-cloudformation-template
## Pre setup instructions
Create a hosted zone in route53,and add main domain records

## Setup instructions

Change following variables in these files
```bash
# aws/cloudformation.yaml
Domain: your-domain.com
BucketName: your-bucket-name
PolicyName: your-policy-name
UpdateIamUserName: your-username
```

Move your static content inside build directory

Create a `release` branch and push latest changes to be deploy

Command to deploy
```bash
aws cloudformation deploy --capabilities CAPABILITY_NAMED_IAM --template-file ./path-to-your-template.yml --stack-name your-stack-name --parameter-overrides Env=prod HostedZoneId=your-hosted-id --tags app=your-tag env=prod
```