This repository holds IaC resources related to cross-account backups for NVA services, where these resources do not belong to a specific service or environment.
First-time setup:
- Create a new GitHub connection in the backup account (must be done by a GitHub organization owner).
- Ask someone with access to the AWS Organization to create a new AWS account for backups.
- This account needs both
AWS RAM
andCross-account backups
enabled.
- This account needs both
- Manually create a new CloudFormation stack in the backup account with the
infrastructure/pipeline.yml
template. - Deploy the new backup vaults from
CodePipeline
.
Example commands for running static analysis tools:
cfn-lint ./infrastructure/**/*.yml
cfn_nag_scan --input-path ./infrastructure
rain fmt ./infrastructure/pipeline.yml -w