Crates.io | aws-bootstrap |
lib.rs | aws-bootstrap |
version | 0.1.1 |
source | src |
created_at | 2022-06-30 21:51:12.989704 |
updated_at | 2022-07-01 06:21:22.657442 |
description | Bootstrap a minimal self-hosted Terraform setup on an AWS account, using CloudFormation stack. |
homepage | https://github.com/rustshop/rustshop/tree/main/infra/utils/aws-bootstrap |
repository | https://github.com/rustshop/rustshop |
max_upload_size | |
id | 616738 |
size | 46,774 |
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)S3 Bucket for Terraform State
S3 Bucket for CloudWatch Logs
Minimal (thus drit cheap) DynamoDB for Terraform State locking
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.