Auto provision resources into AWS org-sagebase-scicomp account.
The workflow to provision AWS resources is done using pull requests. Request using PRs provide history, gating, reviewing and an approval process.
Contributions are welcome.
Requirements:
- Install pre-commit app
- Clone this repo
- Run
pre-commit install
to install the git hook.
As a pre-deployment step we syntatically validate our sceptre and cloudformation yaml files with pre-commit.
Please install pre-commit, once installed the file validations will
automatically run on every commit. Alternatively you can manually
execute the validations by running pre-commit run --all-files
.
Instructions and workflow to auto provision and de-provision resources are in Example PRs
The value of a stack's stack_name
parameter must match the config's file
name. Stack names can contain only alphanumeric characters (case-sensitive)
and hyphens. They must start with an alphabetic character and can't be longer
than 128 characters.
We use sceptre and cloudformation to deploy resources onto an AWS account.
We have configured Travis to deploy CF template updates.
- We use the AWS SSM to store secrets for this project. Sceptre retrieves the secrets using a sceptre ssm resolver and passes them to the cloudformation stack on deployment.