rds cleanup

This commit is contained in:
carnal0wnage
2017-06-27 22:00:08 -04:00
parent 548a102c40
commit a4bcc94d99
3 changed files with 19 additions and 4 deletions

View File

@@ -26,6 +26,3 @@ def describe_db_instances(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY):
except botocore.exceptions.ClientError as e:
print e
describe_db_instances(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)

View File

@@ -1 +0,0 @@

View File

@@ -0,0 +1,19 @@
import boto3
import botocore
import json
import urllib
import logging
import sys,os
import pprint
from libs.rds import *
pp = pprint.PrettyPrinter(indent=5, width=80)
#insert AWS key, will figure out how to pull this in from a single file for all scripts
#AWS_ACCESS_KEY_ID = ''
#AWS_SECRET_ACCESS_KEY =''
describe_db_instances(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)