Skip to content

Instantly share code, notes, and snippets.

View mfilipelino's full-sized avatar
:octocat:

Marcos Lino mfilipelino

:octocat:
  • SSense
  • Montreal - Canada
  • 04:35 (UTC -12:00)
View GitHub Profile

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!

@singledigit
singledigit / get-vars.py
Last active August 26, 2025 14:22
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: