Skip to content

fsz-codeshop/aws-organization-example

 
 

Repository files navigation

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

About

Provisioning code for setting up an AWS organization with Terraform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 96.3%
  • Smarty 3.7%