Skip to content

Commit

Permalink
add missing partition to edge config support
Browse files Browse the repository at this point in the history
  • Loading branch information
aaythapa committed May 29, 2024
1 parent 68ea186 commit ac2842d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion samtranslator/region_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def is_apigw_edge_configuration_supported(cls) -> bool:
:return: True, if API Gateway does not support Edge configuration
"""

return ArnGenerator.get_partition_name() not in ["aws-us-gov", "aws-iso", "aws-iso-b", "aws-cn", "aws-iso-e"]
return ArnGenerator.get_partition_name() not in ["aws-us-gov", "aws-iso", "aws-iso-b", "aws-cn", "aws-iso-e", "aws-iso-f"]

@classmethod
def is_service_supported(cls, service, region=None): # type: ignore[no-untyped-def]
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_region_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def test_when_apigw_edge_configuration_supported(self, partition):
["aws-iso"],
["aws-iso-b"],
["aws-iso-e"],
["aws-iso-f"]
]
)
def test_when_apigw_edge_configuration_is_not_supported(self, partition):
Expand Down

0 comments on commit ac2842d

Please sign in to comment.