Skip to content

Commit 5150fe7

Browse files
authored
Merge pull request #132 from ryandub/fix_vpc_config
Return empty arrays in VpcConfig instead of empty config
2 parents 8c68838 + c114b2b commit 5150fe7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lambda_uploader/uploader.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,10 @@ def _format_vpc_config(self):
208208
'SecurityGroupIds': self._config.raw['vpc']['security_groups']
209209
}
210210
else:
211-
return {}
211+
return {
212+
'SubnetIds': [],
213+
'SecurityGroupIds': [],
214+
}
212215

213216
def _upload_s3(self, zip_file):
214217
'''

0 commit comments

Comments
 (0)