updated to use Pipfile for pipenv, also to Python3. Will test it still works tomorrow. #1

Merged
prasket merged 0 commits from refs/pull/1/head into main 2021-01-16 19:34:45 -08:00
prasket commented 2021-01-16 19:34:30 -08:00 (Migrated from git2.prasket.net)

upgrade to Python3, in preps to expand to other providers, also Python2 has been deprecated a year. :D

Validated existing functionality exited after upgrade.

python aws-sg-ip-updater.py --sg_id sg-XXXXXXXXXXX --port XXXX --protocol tcp

{'ResponseMetadata': {'RequestId': 'XXXXXXXXXXXXXXXXXXXXXXXX', 'HTTPStatusCode': 200, 'HTTPHeaders': {'x-amzn-requestid': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 'cache-control': 'no-cache, no-store', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'content-type': 'text/xml;charset=UTF-8', 'content-length': '259', 'date': 'Sun, 17 Jan 2021 03:20:59 GMT', 'server': 'AmazonEC2'}, 'RetryAttempts': 0}}
upgrade to Python3, in preps to expand to other providers, also Python2 has been deprecated a year. :D Validated existing functionality exited after upgrade. ``` python aws-sg-ip-updater.py --sg_id sg-XXXXXXXXXXX --port XXXX --protocol tcp {'ResponseMetadata': {'RequestId': 'XXXXXXXXXXXXXXXXXXXXXXXX', 'HTTPStatusCode': 200, 'HTTPHeaders': {'x-amzn-requestid': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 'cache-control': 'no-cache, no-store', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'content-type': 'text/xml;charset=UTF-8', 'content-length': '259', 'date': 'Sun, 17 Jan 2021 03:20:59 GMT', 'server': 'AmazonEC2'}, 'RetryAttempts': 0}} ```
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
prasket/cloud-firewall-ip-updater!1
No description provided.