Skip to content

Commit

Permalink
Implements #364
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Jan 25, 2022
1 parent 851c379 commit 3c18f74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scar/providers/aws/lambdafunction.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ def _get_creations_args(self, zip_payload_path: str, supervisor_zip_path: str) -
'MemorySize': self.function.get('memory'),
'Tags': self.function.get('tags'),
'Architectures': self.function.get('architectures', ['x86_64'])}
if self.function.get('vpc'):
args['VpcConfig'] = self.function.get('vpc')
if self.function.get('runtime') == "image":
args['Code'] = {'ImageUri': self.function.get('container').get('image')}
args['PackageType'] = 'Image'
Expand Down

0 comments on commit 3c18f74

Please sign in to comment.