early-keyboard-41388
10/20/2021, 11:46 AMnew
aws.lambda.LayerVersion
. The error is this one.
Error creating lambda layer: ValidationException:
status code: 400, request id: 7e256205-6800-460e-ad82-91ba69f1ac8a
The issue is with the LayerName, options tried:
• [FAIL] layerName: my-layer-${env}
• [FAIL] layerName: myVarName -> where
const myVarName = `my-layer-${env}`.toString() // with or without toString()
• [OK] layerName: “my-layer”
So only valid option is by sending a string in the args
on LayerVersion
.
Any idea on what’s going on?