diff --git a/libs/rds.py b/libs/rds.py index 9353fa6..4151765 100644 --- a/libs/rds.py +++ b/libs/rds.py @@ -26,5 +26,5 @@ def describe_db_instances(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY): except botocore.exceptions.ClientError as e: print e - except KeyboardInterrupt: - print("CTRL-C received, exiting...") \ No newline at end of file + except KeyboardInterrupt: + print("CTRL-C received, exiting...") \ No newline at end of file diff --git a/rds_describe_db_instances.py b/rds_describe_db_instances.py index 1745cfb..9f7ef1b 100644 --- a/rds_describe_db_instances.py +++ b/rds_describe_db_instances.py @@ -13,7 +13,8 @@ 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 ='' +AWS_ACCESS_KEY_ID = '' +AWS_SECRET_ACCESS_KEY ='' + describe_db_instances(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) diff --git a/s3_list_bucket_contents_fromfile.py b/s3_list_bucket_contents_fromfile.py index c5b3223..49a238c 100644 --- a/s3_list_bucket_contents_fromfile.py +++ b/s3_list_bucket_contents_fromfile.py @@ -14,6 +14,7 @@ from libs.s3 import * AWS_ACCESS_KEY_ID = '' AWS_SECRET_ACCESS_KEY ='' + #open a list of possible buckets and attempt to list the contents f = open('test.txt', 'r') for line in f: