From 13d17add2679221249fa352b53212d59a2b231f8 Mon Sep 17 00:00:00 2001 From: micafer Date: Tue, 25 Jan 2022 20:19:58 +0100 Subject: [PATCH] Implements #360 --- scar/providers/aws/lambdafunction.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scar/providers/aws/lambdafunction.py b/scar/providers/aws/lambdafunction.py index 791c65e4..1ce58d90 100644 --- a/scar/providers/aws/lambdafunction.py +++ b/scar/providers/aws/lambdafunction.py @@ -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'