Part of my series on Automation of cybersecurity measures. AWS Organizations. I AM. Deploy a static website. THE Coded.
Free content on Cybersecurity Jobs | Register at Broadcast list
In the last article I explained some problems I noticed while trying to write this article and a few others. When you delete resources deployed with CloudFormation, you cannot simply redeploy the stack.
I had to resolve some issues with my organizational units before continuing with this post. I initially showed you how I deployed organizational units for a parallel organization here:
I can do something similar to deploy accounts. First, I need to get an AWS account to deploy using my deployment container, so I need to migrate through my proof of concept (POC) code.
Existing script to deploy an account
I already have a template for deploying an account because I deployed my root organization account with it.
deploy/rootadminrole/organizations_account_org.sh
I’ll copy this into my orgadmin-root folder and use it as a basis to create my new files to deploy accounts in my organization virtually simultaneously (within the AWS quota — 5 accounts at a time):