lambda.AssetCode() does not preserve file permissions #7749
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
bug
This issue is a bug.
closing-soon
This issue will automatically close in 4 days unless further comments are made.
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
I was trying to deploy my lambda code assets with custom runtime with my own
bootstrap
file which has to be executable(chmod +x).However, it loos like when the folder was staged into
cdk.out
the executable permission will not be preserved.According to the document, if we are implementing the custom runtime, the
bootstrap
file has to be exetable.https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html
Looks like we have no property to enable the permission preservation in this scenario.
Not sure if it's related to nodejs/node#27241
Reproduction Steps
Error Log
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: