add the imports

This commit is contained in:
carnal0wnage
2017-06-27 22:45:23 -04:00
parent d0f69f9a2a
commit c0f9613a4e

View File

@@ -3,11 +3,23 @@ list config and other logging info
port of https://gist.github.com/cktricky/f19e8d55ea5dcb1fdade6ede588c6576 port of https://gist.github.com/cktricky/f19e8d55ea5dcb1fdade6ede588c6576
''' '''
import boto3
import botocore
import json
import urllib
import logging
import sys,os
import pprint
pp = pprint.PrettyPrinter(indent=5, width=80)
from libs.config import * from libs.config import *
#from http://docs.aws.amazon.com/general/latest/gr/rande.html #from http://docs.aws.amazon.com/general/latest/gr/rande.html
regions = ['us-east-1', 'us-east-2', 'us-west-1', 'us-west-2', 'ca-central-1', 'eu-central-1', 'eu-west-1', 'eu-west-2', 'ap-northeast-1', 'ap-northeast-2', 'ap-southeast-1', 'ap-southeast-2', ] regions = ['us-east-1', 'us-east-2', 'us-west-1', 'us-west-2', 'ca-central-1', 'eu-central-1', 'eu-west-1', 'eu-west-2', 'ap-northeast-1', 'ap-northeast-2', 'ap-southeast-1', 'ap-southeast-2', ]
def print_section_header_and_footer(text, end=False): def print_section_header_and_footer(text, end=False):
print("-" * 50) print("-" * 50)
print(text) print(text)