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'