Serverless rollback does not recongnize the function name #9486
Unanswered
mehdiAhmed
asked this question in
Q&A
Replies: 1 comment
-
Hello @mehdiAhmed - when specifying |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
When I try to rollback my function to the previous version, serverless does not recongnize my current function name.
Here my serverless.yml function
The deployment was made with:
serverless deploy --stage stage1
After three deployments, I list all functions deployed:
serverless deploy list functions -s stage1
The results is:
When I made the rollback of the function with:
serverless rollback function --function Test-stage1 --function-version 1
OR
serverless rollback function --function Test-stage1 --function-version 1 --stage stage1
I got the current error:
How can I rollback Test-stage1 function to version 1 correctly please ?
Beta Was this translation helpful? Give feedback.
All reactions