A script to disassociate route53 resolver rules from provided VPC IDs.
- Quickly disassociate route53 resolver rules associated to the VPC(s) in bulk.
Step 1. Install Nix: the package manager from here
git clone https://github.com/tuladhar/route53-resolver-disassociations
The file shell.nix
contains Python and related dependecies needed for the script.
nix-shell
python3 src/disassociate.py vpc-061c02becd1630c9c,vpc-0880368327804d479
export AWS_PROFILE=XYZ
[nix-shell:~/route53-resolver-disassociations]$ python src/disassociate.py
Usage: python3 src/disassociate.py [VPC_IDS,VPC_IDS,...]
Example:
python3 src/disassociate.py vpc-061c02becd1630c9c,vpc-0880368327804d479