rds cleanup
This commit is contained in:
@@ -26,6 +26,3 @@ def describe_db_instances(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY):
|
|||||||
|
|
||||||
except botocore.exceptions.ClientError as e:
|
except botocore.exceptions.ClientError as e:
|
||||||
print e
|
print e
|
||||||
|
|
||||||
|
|
||||||
describe_db_instances(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
|
|
||||||
19
rds_describe_db_instances.py
Normal file
19
rds_describe_db_instances.py
Normal 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)
|
||||||
Reference in New Issue
Block a user