Merged in feature/permit-policy-cleanup (pull request #210)
cleanup permit policies and correct documentation * docs * policy cleanup * refactor * Merge remote-tracking branch 'origin/feature/permit-policy-cleanup' into feature/permit-policy-cleanup * docs and edits
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# AWS Cognito User Pool Deletion Script
|
||||
|
||||
## Overview
|
||||
|
||||
This script (`delete.all.sh`) automates the process of deleting an AWS Cognito User Pool and its associated domain. It's designed to clean up Cognito resources that were created for testing purposes.
|
||||
|
||||
## What the Script Does
|
||||
|
||||
1. Identifies a Cognito User Pool by its domain prefix (`aarete-mfa-test`)
|
||||
2. Deletes the domain associated with the User Pool
|
||||
3. Waits for the domain deletion to complete (30-second wait)
|
||||
4. Deletes the User Pool itself
|
||||
5. Confirms successful cleanup
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- AWS CLI installed and configured
|
||||
- Appropriate AWS permissions to delete Cognito resources
|
||||
- AWS profile named "aarete" configured
|
||||
|
||||
## Configuration
|
||||
|
||||
The script uses the following configuration:
|
||||
- AWS Region: us-east-2
|
||||
- AWS Profile: aarete
|
||||
- Domain Prefix: aarete-mfa-test
|
||||
|
||||
## Usage
|
||||
|
||||
Reference in New Issue
Block a user