Skip to content

Instantly share code, notes, and snippets.

View mfilipelino's full-sized avatar
🏠
Working from home

Marcos Lino mfilipelino

🏠
Working from home
  • SSense
  • Montreal - Canada
View GitHub Profile
@singledigit
singledigit / get-vars.py
Last active November 8, 2024 03:39
Get all env variables for all AWS Lamda functions in a CloudFormation/SAM stack
#! /usr/bin/env python
# Use at your own risk and reward.
# requires boto3 to be installed
# example `./get-vars.py MyStack > vars.json`
import sys, json
import boto3
if len(sys.argv) == 1:

Moved

Now located at https://github.com/JeffPaine/beautiful_idiomatic_python.

Why it was moved

Github gists don't support Pull Requests or any notifications, which made it impossible for me to maintain this (surprisingly popular) gist with fixes, respond to comments and so on. In the interest of maintaining the quality of this resource for others, I've moved it to a proper repo. Cheers!