Skip to content

Commit

Permalink
fix: Remove str type constrain in Fn:FindInMap to avoid the issue of …
Browse files Browse the repository at this point in the history
…lookup int value
  • Loading branch information
dkphm committed Aug 2, 2024
1 parent 4718c8b commit 94b3189
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def handle_find_in_map(self, intrinsic_value, ignore_errors):
)

second_level_value = top_level_value.get(second_level_key)
verify_intrinsic_type_str(
verify_non_null(
second_level_value,
IntrinsicResolver.FN_FIND_IN_MAP,
message="The SecondLevelKey is missing in the Mappings dictionary in Fn::FindInMap "
Expand Down

0 comments on commit 94b3189

Please sign in to comment.