Skip to content

Commit

Permalink
Implements #360
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Jan 25, 2022
1 parent 3c18f74 commit 13d17ad
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 @@ -67,6 +67,8 @@ def _get_creations_args(self, zip_payload_path: str, supervisor_zip_path: str) -
'Architectures': self.function.get('architectures', ['x86_64'])}
if self.function.get('vpc'):
args['VpcConfig'] = self.function.get('vpc')
if self.function.get('file_system_configs'):
args['FileSystemConfigs'] = self.function.get('file_system_configs')
if self.function.get('runtime') == "image":
args['Code'] = {'ImageUri': self.function.get('container').get('image')}
args['PackageType'] = 'Image'
Expand Down

0 comments on commit 13d17ad

Please sign in to comment.