Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tuladhar/route53-resolver-disassociations
A script to disassociate route53 resolver rules from provided VPC IDs
https://github.com/tuladhar/route53-resolver-disassociations
automation aws boto3 cli devops nix nixos nixpkgs python route53 route53-resolver
Last synced: about 1 month ago
JSON representation
A script to disassociate route53 resolver rules from provided VPC IDs
- Host: GitHub
- URL: https://github.com/tuladhar/route53-resolver-disassociations
- Owner: tuladhar
- Created: 2023-01-26T07:36:35.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-26T07:54:23.000Z (almost 2 years ago)
- Last Synced: 2024-10-24T22:13:43.634Z (3 months ago)
- Topics: automation, aws, boto3, cli, devops, nix, nixos, nixpkgs, python, route53, route53-resolver
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# route53-resolver-disassociations
A script to disassociate route53 resolver rules from provided VPC IDs.## Use cases
- Quickly disassociate route53 resolver rules associated to the VPC(s) in bulk.## Usage
### Step 1. Install Nix: the package manager [from here](https://nixos.org/download.html#download-nix)
### Step 2. Clone the repository
```
git clone https://github.com/tuladhar/route53-resolver-disassociations
```### Step 3. Start nix-shell
The file `shell.nix` contains Python and related dependecies needed for the script.
```
nix-shell
```### Step 4. Execute the script
```
python3 src/disassociate.py vpc-061c02becd1630c9c,vpc-0880368327804d479
```## Example
### Step 1. Export the AWS profile name as environment variable
```
export AWS_PROFILE=XYZ
```### Step 2. Execute the script with VPC ID(s)
```
[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
```