I’m getting a strange error with `new` `aws.lambda...
# aws
e
I’m getting a strange error with
new
aws.lambda.LayerVersion
. The error is this one.
Copy code
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
Copy code
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?