liatrio / aws-accounts-terraform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS Organization Terraform

This repository contains the Terraform configurations needed to manage a multi-account AWS organization and the various roles that will be used within the accounts.

At Liatrio, we used this as the foundation for our accounts. We created a private fork that contains the actual users and resources used in our accounts.

Related blog post: liatrio.com/blog/secure-aws-account-structure-with-terraform-and-terragrunt

Be sure to modify shared.hcl to customize for your organization.

Prerequisites

Initialization

See the master folder for initial setup instructions the first time the organization is being created.

Post-Initialization

Future Terraform runs must be run by an IAM user in the Infosec account with the appropriate group assignment for the target account:

  • Infosec account: InfosecAdmins group
  • Prod account: ProdAdmins group
  • Non-Prod account: NonProdAdmins group

About

License:MIT License


Languages

Language:HCL 85.3%Language:Shell 14.7%