We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d41e868 commit 006fda5Copy full SHA for 006fda5
aws_lambda/aws_lambda.py
@@ -637,7 +637,7 @@ def update_function(
637
}
638
639
if preserve_vpc:
640
- kwargs['VpcConfig'] = existing_cfg.get('Configuration').get('VpcConfig')
+ kwargs['VpcConfig'] = existing_cfg.get('Configuration', {}).get('VpcConfig')
641
if kwargs['VpcConfig'] is None:
642
kwargs['VpcConfig'] = {
643
'SubnetIds': cfg.get('subnet_ids', []),
0 commit comments