use botocore regions and refactor sorting
This commit is contained in:
parent
8d5c70a924
commit
fd69c93a09
3 changed files with 27 additions and 49 deletions
|
|
@ -69,29 +69,6 @@ RESOURCE_MAP = {
|
|||
"AWS::IAM::Policy": policy_config_query,
|
||||
}
|
||||
|
||||
CONFIG_REGIONS = [
|
||||
"af-south-1",
|
||||
"ap-east-1",
|
||||
"ap-northeast-1",
|
||||
"ap-northeast-2",
|
||||
"ap-south-1",
|
||||
"ap-southeast-1",
|
||||
"ap-southeast-2",
|
||||
"ca-central-1",
|
||||
"eu-central-1",
|
||||
"eu-north-1",
|
||||
"eu-south-1",
|
||||
"eu-west-1",
|
||||
"eu-west-2",
|
||||
"eu-west-3",
|
||||
"me-south-1",
|
||||
"sa-east-1",
|
||||
"us-east-1",
|
||||
"us-east-2",
|
||||
"us-west-1",
|
||||
"us-west-2",
|
||||
]
|
||||
|
||||
|
||||
def datetime2int(date):
|
||||
return int(time.mktime(date.timetuple()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue