Closed softprops closed 5 years ago
looking at the .serverless/serverless-state.json
file
@0.1.39.0
"hello": {
"handler": "test-func",
"events": [],
"name": "aws-rust-dev-hello",
"package": {
"artifact": "/Users/dougtangren/code/rust/serverless-rust/tests/test-func/.serverless/target/lambda/release/test-func.zip"
},
"memory": 128,
"timeout": 6,
"runtime": "provided",
"vpc": {}
}
then @1.38.0
"functions": {
"hello": {
"handler": "test-func",
"events": [],
"name": "aws-rust-dev-hello",
"package": {
"artifact": "target/lambda/release/test-func.zip"
},
"memory": 128,
"timeout": 6,
"runtime": "provided",
"vpc": {}
}
},
a patch was released https://github.com/serverless/serverless/releases/tag/v1.39.1
fixed upstream
🐛 Bug description
Describe your issue in detail.
running npx serverless deploy of functions using the latest serverless release (1.39.0) results in the following error
🤔 Expected Behavior
function was deployed as expected with previous releases
👟 Steps to reproduce
while testing the latest version for the new invoke local support, a regression test of deployment revealed this error. I'm suspect that something changed in the way serverless resolves artifact paths. an open issue now exists upstream with many users reporting the same issue https://github.com/serverless/serverless/issues/5931
🌍 Your environment
serverless version:
1.39.0
rust-plugin version:
latest