This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKy8lId3nxcufvnAcBB3KxnIpwMctB7ODC5vxIvO8BuD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import base64 | |
| import boto3 | |
| import os | |
| encoded = os.environ.get("ENCODED") | |
| key_arn = os.environ.get("KEY") | |
| profile = os.environ.get("PROFILE") | |
| if key_arn is None or encoded is None: | |
| raise Exception("You must provide a key & encoded values!") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import argparse | |
| import os | |
| import boto3 | |
| boto3.setup_default_session(profile_name=os.environ.get("AWS_PROFILE", "default")) | |
| def discover_lambdas(stack_name): | |
| cf = boto3.client("cloudformation") | |
| paginator = cf.get_paginator("list_stack_resources") |
OlderNewer