Skip to content

Instantly share code, notes, and snippets.

@JelsB
Created April 11, 2021 16:47
Show Gist options
  • Save JelsB/8a6a95d04da709e9650b524ee5b7c723 to your computer and use it in GitHub Desktop.
Save JelsB/8a6a95d04da709e9650b524ee5b7c723 to your computer and use it in GitHub Desktop.
{
"application": {
"application_name": "<application_name>",
"repository_name": "<name_of_the_CodeCommit_mirror_repo>",
"branch": "master",
"build_environment": {
"account": "<account-id-of-build-account>",
"region": "<build-aws-region>"
}
// ...
},
"environments": {
"default": {
"name": "default",
"env": {
"region": "<default-aws-region>"
},
"tags": {
"application": "<application_name>",
"team": "<team>"
},
"deletion_protection": true,
"removal_policy": "RETAIN",
"minimum_auto_scaling_group": 2,
"maximum_auto_scaling_group": 10
// ...
},
"development": {
"name": "development",
"env": {
"account": "<account-id-of-dev-account>"
},
"deletion_protection": false,
"removal_policy": "DESTROY",
"minimum_auto_scaling_group": 1,
"maximum_auto_scaling_group": 3
// ...
},
"staging": {
"name": "staging",
"env": {
"account": "<account-id-of-staging-account>"
}
// ..
},
"production": {
"name": "production",
"env": {
"account": "<account-id-of-production-account>"
}
// ...
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment