Features
Testing
Example: Localstack
This example will walk you through using localstack with Telophase to create AWS Accounts and OUs (see: organization.yml
), and Stacks to them.
Getting Started with Localstack + Telophase
- Install Dependencies
- Start up Localstack in the background. Ensure your pro license is set. Learn more here
- Localstack Setup Create your root organization in Localstack
- Setup an AWS_REGION if not set
- Deploy Infra in the Accounts
Telophase will:
- Create the accounts and OUs listed in
organization.yml
- A CDK stack will create an S3 bucket for a terraform state will be create in each account. Additionally, a Terraform stack will create a CI deploy role in each account in the
Production
OU.
- Inspect the accounts using
awslocal
Learn how Localstack handles multi-account auth here
Common Errors
Cannot create preexisting table / Cannot do operations on a non-existent table
These are triggered by a concurrency bug in localstack. You can resolve it by pre-creating the tf-test-state
table and running Telophase again: