Skip to content

Commit

Permalink
fix: make MemorySize a pass-through (#2923)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffa authored Feb 21, 2023
1 parent e5173c2 commit 2c254db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samtranslator/model/sam_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class SamFunction(SamResourceMacro):
"InlineCode": PropertyType(False, one_of(IS_STR, IS_DICT)),
"DeadLetterQueue": PropertyType(False, IS_DICT),
"Description": PropertyType(False, IS_STR),
"MemorySize": PropertyType(False, is_type(int)),
"MemorySize": PassThroughProperty(False),
"Timeout": PropertyType(False, is_type(int)),
"VpcConfig": PropertyType(False, IS_DICT),
"Role": PropertyType(False, IS_STR),
Expand Down

0 comments on commit 2c254db

Please sign in to comment.