This is an experimental framework for quickly building salt managed
environments in AWS. It uses terraform to provision the underlying
infrastracture, and provides--what I hope is--an intuitive organization of salt
components (states, pillar, formulas, etc.). The goal is provision an entire
environment (including the salt master) with a single execution of terraform apply
, and then enable rapid addition of new services.
- Fork this repo
- Clone your fork
export SITE_NAME=aws-test
cp terraform/platforms/aws/terraform.tfvars.example terraform/sites/${SITE_NAME}/terraform.tfvars
- Review and update sites/${SITE_NAME}/terraform.tfvars
- Run
terraform plan --var-file=terraform/sites/${SITE_NAME}/terraform.tfvars terraform/platforms/aws
- Run
terraform apply --var-file=terraform/sites/${SITE_NAME}/terraform.tfvars terraform/platforms/aws