forked from awslabs/ecr-cleanup-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes error that happens when attempting to reach a disabled region (a…
…wslabs#33) * Now gets list of available regions from a 'describe regions' call to an ec2 client. This fixes an issue where an error would be thrown when attempting to reach a disabled region. * Linting changes to bring code in line with Pylint. Also refactors regex compile to be outside of for loop.
- Loading branch information
1 parent
c451cb6
commit 7961463
Showing
3 changed files
with
33 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
boto3 | ||
requests | ||
boto3 |