File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,12 @@ def _region_to_partition(region: str) -> str:
23
23
"us-isob" : "aws-iso-b" ,
24
24
"us-gov" : "aws-us-gov" ,
25
25
"eu-isoe" : "aws-iso-e" ,
26
+ "us-isof" : "aws-iso-f" ,
26
27
}
27
28
for key , value in region_to_partition_map .items ():
28
29
if region_string .startswith (key ):
29
30
return value
30
31
31
- # Using the ${AWS::Partition} placeholder so that we don't have to add new regions to the static list above
32
- if "iso" in region_string :
33
- return "${AWS::Partition}"
34
-
35
32
return "aws"
36
33
37
34
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def setUp(self):
17
17
("us-isob-east-1" , "aws-iso-b" ),
18
18
("eu-isoe-west-1" , "aws-iso-e" ),
19
19
("US-EAST-1" , "aws" ),
20
- ("us-isof-east-1" , "${AWS::Partition} " ),
20
+ ("us-isof-east-1" , "aws-iso-f " ),
21
21
]
22
22
)
23
23
def test_get_partition_name (self , region , expected ):
You can’t perform that action at this time.
0 commit comments