Check wiki for more details - https://github.com/comoyo/gsaws/wiki
- Revised Terraform knowledge
- Setup CI/CD
- Build/plan/update on staging AWS account
- Implement basic infrastructure in Terraform
- Deploy simple nginx homepage
TF_ENV=production && terraform remote config -backend=s3 -backend-config="bucket=tf-states" -backend-config="key=$TF_ENV" -backend-config="encrypt=true" -pull=true
TF_ENV=staging && terraform remote config -backend=s3 -backend-config="bucket=tf-states" -backend-config="key=$TF_ENV" -backend-config="encrypt=true" -pull=true
./codeship_setup.sh ./plan.sh staging ./apply.sh staging
Send PR to master (first install it - brew install hub
):
hub pull-request -m "Added pr tests" -b master