Skip to content

Commit 3c18f74

Browse files
committed
Implements #364
1 parent 851c379 commit 3c18f74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scar/providers/aws/lambdafunction.py

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ def _get_creations_args(self, zip_payload_path: str, supervisor_zip_path: str) -
6565
'MemorySize': self.function.get('memory'),
6666
'Tags': self.function.get('tags'),
6767
'Architectures': self.function.get('architectures', ['x86_64'])}
68+
if self.function.get('vpc'):
69+
args['VpcConfig'] = self.function.get('vpc')
6870
if self.function.get('runtime') == "image":
6971
args['Code'] = {'ImageUri': self.function.get('container').get('image')}
7072
args['PackageType'] = 'Image'

0 commit comments

Comments
 (0)