Bootstrap a minimal self-hosted Terraform setup on an AWS account, using CloudFormation stack.
Part of the rustshop project.
When called like this:
aws-bootstrap --email infra@example.com --base example --accounts dev,prod
with AWS_PROFILE
pointing to an iamadmin
Account Admin IAM identity on,
will:
example-dev
(email: infra+dev@example.com)example-prod
(email: infra+prod@example.com)aws
CLI command under the hoodYou can use ./aws-bootstrap.build.sh
to build the Dockerfile
an
export the statically linked Linux binary.
This is a normal Rust project, so can be build using cargo.