File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -280,11 +280,12 @@ def _create_layer(self) -> str:
280
280
logger .debug ("Creating Lambda Layer with latest source code available" )
281
281
output_dir = Path (str (AssetStaging .BUNDLING_OUTPUT_DIR ), "python" )
282
282
input_dir = Path (str (AssetStaging .BUNDLING_INPUT_DIR ), "aws_lambda_powertools" )
283
- build_commands = [f"pip install . -t { output_dir } " , f"cp -R { input_dir } { output_dir } " ]
283
+
284
+ build_commands = [f"pip install .[pydantic] -t { output_dir } " , f"cp -R { input_dir } { output_dir } " ]
284
285
layer = LayerVersion (
285
286
self .stack ,
286
- "aws-lambda-powertools" ,
287
- layer_version_name = "aws-lambda-powertools" ,
287
+ "aws-lambda-powertools-e2e-test " ,
288
+ layer_version_name = "aws-lambda-powertools-e2e-test " ,
288
289
compatible_runtimes = [PythonVersion [PYTHON_RUNTIME_VERSION ].value ["runtime" ]],
289
290
code = Code .from_asset (
290
291
path = "." ,
You can’t perform that action at this time.
0 commit comments