Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.
/ gsaws Public archive

Testable GS infrastructure as code - Hackathon project

Notifications You must be signed in to change notification settings

comoyo/gsaws

Repository files navigation

Hackathon project: Global Scale AWS infrastructure as code (testable and continuously evolving)

Check wiki for more details - https://github.com/comoyo/gsaws/wiki

Done:

  • Revised Terraform knowledge
  • Setup CI/CD
  • Build/plan/update on staging AWS account
  • Implement basic infrastructure in Terraform

To-do:

  • Deploy simple nginx homepage

State for each environment is saved in s3 bucket:

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

Commands:

./codeship_setup.sh ./plan.sh staging ./apply.sh staging

Helpers:

Send PR to master (first install it - brew install hub): hub pull-request -m "Added pr tests" -b master

About

Testable GS infrastructure as code - Hackathon project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published