AWS Organizations allows the creation of sub accounts for a better separation between different teams and projects. We automate the creation of those accounts with terraform.
This repository contains examples for the accompanying article at https://www.eoda.de/en/wissen/blog/automating-aws-organizations-terraform/