Skip to content

Instantly share code, notes, and snippets.

@seantcanavan
seantcanavan / print_deprecated_go_lambdas.py
Created September 12, 2023 15:53
Print Deprecated Go Lambda Functions to CSV
import subprocess
import csv
# Define the list of AWS regions as of my last update in September 2021.
aws_regions = [
"us-east-1", "us-east-2", "us-west-1", "us-west-2",
"af-south-1", "ap-east-1", "ap-south-1", "ap-northeast-2",
"ap-southeast-1", "ap-southeast-2", "ap-northeast-1",
"ca-central-1", "eu-central-1", "eu-west-1", "eu-west-2",
"eu-south-1", "eu-west-3", "eu-north-1", "me-south-1",