This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Script to delete all EBS volumes in us-east-2 | |
| # WARNING: This will permanently delete ALL EBS volumes in the region | |
| REGION="us-east-2" | |
| echo "WARNING: This will delete ALL EBS volumes in $REGION" | |
| echo "This action is IRREVERSIBLE and will cause DATA LOSS" | |
| read -p "Type 'DELETE' to confirm: " confirmation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: ubuntu | |
| labels: | |
| app: ubuntu | |
| spec: | |
| containers: | |
| - image: ubuntu | |
| command: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| from argparse import ArgumentParser | |
| import logging | |
| import os | |
| import sys | |
| import requests | |
| import gzip | |
| from collections import defaultdict, OrderedDict | |
| from pprint import pprint |