Scripts and templates for helping in setup an AWS platform.
Prior to enrolling an AWS account into Control Tower there are a few checks that need to be complete. In most cases you need to have AWS Config recorder and delivery channel turned off. Use the following one-liner in AWS CloudSehll to loop through all your regions in an AWS account and check if AWS Config service is running. If Config service is running in a region, go in and delete it.
Copy and paste the following in AWS CloudShell:
curl -sSL https://raw.githubusercontent.com/grolston/aws-platform-tools/main/validate-for-control-tower.sh| shDoes the same thing as the last only instead of only checking, it also deletes the Config recorder and Config delivery channel from each region.
curl -sSL https://raw.githubusercontent.com/grolston/aws-platform-tools/main/delete-aws-config.sh | sh