Skip to content

Instantly share code, notes, and snippets.

View masudur-rahman-niloy's full-sized avatar
🏠
Working from home

Md Masudur Rahman Niloy masudur-rahman-niloy

🏠
Working from home
  • ShadhinLab
  • Dhaka
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: