Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lambroll rollback --alias="xxx" --delete-version still tries to get alias "current" #386

Open
MasatoshiTada8888 opened this issue Apr 3, 2024 · 1 comment

Comments

@MasatoshiTada8888
Copy link

I got an error below with lambroll rollback --alias="xxx" --delete-version.

$ lambroll rollback --alias="latest" --delete-version

2024/04/03 13:44:33 [info] lambroll v1.0.2
2024/04/03 13:44:33 [info] starting rollback function my-function:latest
2024/04/03 13:44:34 [info] rollbacking function version 28 to 27 
2024/04/03 13:44:34 [info] updating alias set latest to version 27
2024/04/03 13:44:34 [info] alias updated
2024/04/03 13:44:34 [error] FAILED. failed to get alias: operation error Lambda: GetAlias, https response error StatusCode: 404, RequestID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, ResourceNotFoundException: Cannot find alias arn: arn:aws:lambda:ap-northeast-1:xxxxxxxxxxxx:function:my-function:current

I got no error without --delete-version.

@fujiwara
Copy link
Owner

fujiwara commented Apr 5, 2024

@MasatoshiTada8888 Thank you for the reporting!
Fixed by v1.0.3, please try it!
https://github.com/fujiwara/lambroll/releases/tag/v1.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants