Skip to content

Instantly share code, notes, and snippets.

@nohtyp
nohtyp / copy_launch_configurations.py
Last active April 12, 2020 07:21
This gist is for copying the launch configurations of an existing launch configuration in AWS.
#!/usr/bin/env python3
import boto3
import argparse
def create_launch_configuration(lcargs):
lc_dict = {}
try:
@nohtyp
nohtyp / update_autoscaling_group.py
Created April 12, 2020 07:23
To update launch configurations using a script, this is a prototype of the script.
#!/usr/bin/env python3
import sys
import re
import os
import boto3
ssm_client = boto3.client('ssm')