Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aaythapa committed Apr 3, 2024
1 parent b42dc1f commit c328b51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions samtranslator/translator/arn_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ def _region_to_partition(region: str) -> str:
if region_string.startswith(key):
return value

# Using the ${AWS::Partition} placeholder so that we don't have to add new regions to the static list above
if "iso" in region_string:
return "${AWS::Partition}"

return "aws"


Expand Down

0 comments on commit c328b51

Please sign in to comment.