Commit Graph

13 Commits

Author SHA1 Message Date
cclauss
7ceea49e4d Resolve undefined name 'region'. Use AWS_ACCESS_KEY_ID
__region__ is an _undefined name_ in this context so this PR recommends using __AWS_ACCESS_KEY_ID__ instead.

flake8 testing of https://github.com/carnal0wnage/weirdAAL on Python 3.6.3

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./libs/aws_lambda.py:135:86: F821 undefined name 'region'
            print("[-] GetAccountSettings allowed for {} but no results [-]" .format(region))
                                                                                     ^
./libs/s3.py:289:54: F821 undefined name 'file'
            print("{} object does not exist.".format(file))
                                                     ^
2     F821 undefined name 'region'
2
```
2018-05-24 00:10:12 +02:00
carnal0wnage
53c89be8dd pep8 fixes 2018-04-24 21:40:16 -04:00
carnal0wnage
a5adb1def9 lambda update for get function and broken error handling in ec2 2018-04-24 21:10:30 -04:00
carnal0wnage
6c6359476f move comments around for pydocs functionality 2018-04-19 23:03:08 -04:00
carnal0wnage
582c2c7d38 documentation and rm'ing the key piece 2018-04-16 21:05:15 -04:00
Chris Gates
5e88b0c2b2 lambda config and pep8 2018-04-16 15:08:43 -04:00
carnal0wnage
89e758a4cf mostly fixes to handle a root key that has perms but shit isnt actually set up 2018-04-11 22:50:24 -04:00
carnal0wnage
76db8c3aea lambda 2018-04-07 19:46:38 -04:00
Chris Gates
1b8913586a Update aws_lambda.py
fix print statements
2018-04-05 16:09:36 -04:00
carnal0wnage
6586cb391b fixups due to spacing...le sigh 2017-06-30 17:28:57 -04:00
carnal0wnage
b2a34aaa74 handle ctrl-c 2017-06-30 17:18:55 -04:00
carnal0wnage
de077accd9 remove a dup import 2017-06-27 23:04:15 -04:00
carnal0wnage
6577f59cfa lambda stuff, libs folder for stuff 2017-06-27 21:47:37 -04:00