adds Environment to the Lambda cfm optional keys
Adds Environment to the list of keys that can be included in Lambda cloudformation functions.
This commit is contained in:
parent
4f7d6e15c9
commit
7b008ded3e
@ -386,7 +386,7 @@ class LambdaFunction(BaseModel):
|
||||
'Role': properties['Role'],
|
||||
'Runtime': properties['Runtime'],
|
||||
}
|
||||
optional_properties = 'Description MemorySize Publish Timeout VpcConfig'.split()
|
||||
optional_properties = 'Description MemorySize Publish Timeout VpcConfig Environment'.split()
|
||||
# NOTE: Not doing `properties.get(k, DEFAULT)` to avoid duplicating the
|
||||
# default logic
|
||||
for prop in optional_properties:
|
||||
|
Loading…
x
Reference in New Issue
Block a user