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
- Host: GitHub
- URL: https://github.com/toggle-corp/static-cloudformation-template
- Owner: toggle-corp
- Created: 2022-06-22T17:09:07.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-23T06:07:27.000Z (almost 3 years ago)
- Last Synced: 2025-01-09T07:13:03.121Z (4 months ago)
- Language: HTML
- Size: 4.88 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```