-
Notifications
You must be signed in to change notification settings - Fork 60
Home
E. Dunham edited this page May 8, 2018
·
6 revisions
Welcome to the hubs-ops wiki!
- Be on Linux
- Install Terraform (https://www.terraform.io/intro/getting-started/install.html)
- Install Terragrunt (https://github.com/gruntwork-io/terragrunt)
- Install AWS CLI (https://docs.aws.amazon.com/cli/latest/userguide/installing.html)
- run
aws configure
and input your access key ID and secret access key. Default region should be us-west-1, default output format can be None.
- Make PR of changes
- When on your branch with the changes, in the
terraform
directory, run./grunt-local apply ret
to apply your changes to the dev environment. Fix any errors. - Get your PR reviewed
- Put your name in the topic of #mr-push on Slack
- Message the #mr-push channel with a summary of what your changes do
- Land the PR, and check out the new master branch of this repo
- Run
grunt-local apply ret prod
to get the Terraform plan of what will happen when your changes are applied - Stare hard at the plan to make sure it's composed of the changes that you wanted and none that you didn't
- Type 'yes' and hit enter to deploy the plan
- Verify that everything still works
- Remove your name from the topic of #mr-push on Slack