aws-security-reference-architecture-examples
aws-security-reference-architecture-examples copied to clipboard
[BUG] GuardDuty service still enabled in the member accounts after deleting the stacks
Describe the bug
GuardDuty service is still running in the accounts even after deleting all the stacks for the GuardDuty solution. The delegated admin is cleaned up, but the member accounts still have the service enabled. This causes errors during subsequent deployment of the stack.
To Reproduce
Steps to reproduce the behavior:
- Deploy the SRA solution for GuardDuty.
- Once completed successfully, delete the stacks
- Re-deploy the stacks as-is and check for errors.
- Error returned - "message": "Unprocessed Member Accounts"
Expected behavior
The service should be completely disabled in all member accounts in the Organization.
Screenshots
NA
Deployment Environment (please complete the following information)
- Deployment Framework [e.g. Customizations for Control Tower and CloudFormation StackSets]: Customizations for Control Tower and CloudFormation StackSets
- Deployment Framework Version [e.g. 1.0, 2.0]: