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
import yaml | |
import sys | |
import json | |
with open(sys.argv[1]) as file: | |
deploymentconfig = list(yaml.load_all(file, Loader=yaml.SafeLoader)) | |
if deploymentconfig[-1] == None: | |
del deploymentconfig[-1] |
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
# export AWS_PROFILE=profile_name | |
# python3 list-functions.py <region> | |
import sys | |
import boto3 | |
import csv | |
import json | |
from datetime import datetime | |
from datetime import timedelta |