diff --git a/libs/opsworks.py b/libs/opsworks.py index 41b986e..4632462 100644 --- a/libs/opsworks.py +++ b/libs/opsworks.py @@ -40,5 +40,5 @@ def describe_stacks(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY): print "[-] Cant connect to the {} endpoint [-]" .format(region) else: print "Unexpected error: {}" .format(e) - except KeyboardInterrupt: - print("CTRL-C received, exiting...") + except KeyboardInterrupt: + print("CTRL-C received, exiting...") diff --git a/opsworks_describe_stacks.py b/opsworks_describe_stacks.py index 253210d..73c69a8 100644 --- a/opsworks_describe_stacks.py +++ b/opsworks_describe_stacks.py @@ -14,4 +14,5 @@ from libs.opsworks import * AWS_ACCESS_KEY_ID = '' AWS_SECRET_ACCESS_KEY = '' + describe_stacks(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) \ No newline at end of file