Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 870 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 870 Bytes

AWS Organization Example

About

This repository contains all the necessary code to create:

  • AWS organization with three accounts:
    • users
    • staging
    • production
  • IAM groups and roles for developers,
  • S3 bucket & DynamoDB table for Terraform backend.

Quickstart

  1. Substitute the dummy values in locals.tf.
  2. Optionally add users to users.tf, detailed instructions on that are in adding-a-user.md.
  3. Initialize the Terraform and apply plan:
    $ terraform init
    $ terraform apply
    
  4. Commit the state in terraform.tfstate to your repository and you're done!

Step by step

Follow the instructions on my blog post to get a full explanation on what is being created and how it is configured: https://tbekas.dev/posts/setting-up-an-aws-organization-from-scratch-with-terraform