Skip to content

Instantly share code, notes, and snippets.

Andres Zepeda cepefernando

Block or report user

Report or block cepefernando

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View destroy
# -- coding: utf-8 --
import os
import subprocess
import urllib
import boto3
TERRAFORM_VERSION = '0.9.6'
TERRAFORM_DOWNLOAD_URL = (
'
View ebs
import boto3
import collections
import datetime
ec = boto3.client('ec2', region_name='eu-west-1')
#begins lambda function
def lambda_handler(event, context):
# mention your tag values below example "Backup-snap"
reservations = ec.describe_instances(
View terraform-destroy
# from git import Repo
import os
import subprocess
import urllib
import urllib2
import boto3
import logging
logger = logging.getLogger()
logger.setLevel(logging.INFO)
You can’t perform that action at this time.