amazon-web-servicesaws-control-toweraws-nuke

How to run aws-nuke across 2 different AWS organizations


I'm learning to use aws-nuke to delete all the resources in my organization AWS account. I was able to successfully remove my personal resource in my own organization manage the nuking. Wondering will it works across organization? Let's say we have 2 different organizations. AWS Organizations management See Screenshot above.

Is it possible to have aws-nuke work across 2 different organizations when we have a Power-User or System Admin from organization B to manage the training account in organization. Here's a simplified version of the diagram.

simplified diagram for 2 AWS organizations


Solution

  • I was able to reach out to the author of aws-nuke and open a discussion page here

    You have to setup cross account access and run aws-nuke for with assume role each account.

    It is possible to have aws-nuke work across 2 different organizations when we have a System Admin from organization B to manage the training account in another organization (Organization A).