diff --git a/samtranslator/region_configuration.py b/samtranslator/region_configuration.py index c2a210b9c..42d6dcbde 100644 --- a/samtranslator/region_configuration.py +++ b/samtranslator/region_configuration.py @@ -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] diff --git a/tests/unit/test_region_configuration.py b/tests/unit/test_region_configuration.py index e9bcf50b3..efd53aa9b 100644 --- a/tests/unit/test_region_configuration.py +++ b/tests/unit/test_region_configuration.py @@ -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):