Merge pull request #2005 from fivepapertigers/feature/lambda-env-mapping
Lambda Cloudformation Env Variables
This commit is contained in:
commit
850496f29a
2 changed files with 10 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue