Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add keyword arg for VpcConfig on lambda function update
  • Loading branch information
SimplyAhmazing committed Jan 10, 2017
commit 88ea88cc255748432f8beaf42cdf4515b37fdd43
6 changes: 5 additions & 1 deletion aws_lambda/aws_lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,11 @@ def update_function(cfg, path_to_zip_file):
Handler=cfg.get('handler'),
Description=cfg.get('description'),
Timeout=cfg.get('timeout', 15),
MemorySize=cfg.get('memory_size', 512)
MemorySize=cfg.get('memory_size', 512),
VpcConfig={
'SubnetIds': cfg.get('subnet_ids', []),
'SecurityGroupIds': cfg.get('security_group_ids', [])
}
)


Expand Down