We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 851c379 commit 3c18f74Copy full SHA for 3c18f74
scar/providers/aws/lambdafunction.py
@@ -65,6 +65,8 @@ def _get_creations_args(self, zip_payload_path: str, supervisor_zip_path: str) -
65
'MemorySize': self.function.get('memory'),
66
'Tags': self.function.get('tags'),
67
'Architectures': self.function.get('architectures', ['x86_64'])}
68
+ if self.function.get('vpc'):
69
+ args['VpcConfig'] = self.function.get('vpc')
70
if self.function.get('runtime') == "image":
71
args['Code'] = {'ImageUri': self.function.get('container').get('image')}
72
args['PackageType'] = 'Image'
0 commit comments