Skip to content

Instantly share code, notes, and snippets.

View masudur-rahman-niloy's full-sized avatar

Md Masudur Rahman Niloy masudur-rahman-niloy

  • ShadhinLab
  • Dhaka
View GitHub Profile
@masudur-rahman-niloy
masudur-rahman-niloy / get-vars.py
Last active July 26, 2023 03:41 — forked from singledigit/get-vars.py
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
import argparse