Skip to content

horothesun/infra-cookiecutter-template

Repository files navigation

AWS infrastucture bootstrap template

CI Renovate enabled Mergify enabled

Can't be bothered to go through the initial setup necessary to terraform your AWS account? 🫣

Fear no more!

This template will give you a minimal Terraform codebase with

  • 👤 non-root IAM admin user,
  • 💾 remote Terraform state on S3 (with DynamoDB locking),
  • ⚡ CI workflow to continously apply state changes, displaying Terraform plans as PR comments,
  • 🔐 "AWS Open ID Connect for GitHub" identity provider and "GitHub workflows AWS role" to securely login into your AWS account from the CI.

Just generate the project and follow the instructions you'll find in the README.

⚠️ IMPORTANT: consider keeping your new repo private, because it will contain sensitive data (e.g. admin user name).

Requirements

Generate new project

cookiecutter gh:horothesun/infra-cookiecutter-template
cd <repo_name>