You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run the cli command clear_lambda_storage with the argument --function-name and the cli cannot handle it.
Clonning the repository and running locally, the code accepts this argument.
It's possible to add the support for this argument to the cli? I'm trying to use this function on my github actions pipeline and will be much more easy using direclty the cli instead of pushing the code on so many repositories that i need. 😅
Examples
Command that i'm trying to use: clear_lambda_storage --num-to-keep 3 --function-names=function-name --regions=us-east-1
Command that i successfully used running the code locally: python clear_lambda_storage.py --num-to-keep 3 --function-names=function-name --regions=us-east-1
Current supported arguments on cli:
options:
-h, --help show this help message and exit
--token-key-id token-key-id
AWS access key id. Must provide AWS secret access key as well (default: from local configuration).
--token-secret token-secret
AWS secret access key. Must provide AWS access key id as well (default: from local configuration.
--profile profile AWS profile. Optional (default: "default" from local configuration).
--regions regions [regions ...]
AWS region to look for old Lambda versions
--num-to-keep num-to-keep
Number of latest versions to keep. Older versions will be deleted. Optional (default: 2).
The text was updated successfully, but these errors were encountered:
Description
Hello! 😄
I'm trying to run the cli command clear_lambda_storage with the argument
--function-name
and the cli cannot handle it.Clonning the repository and running locally, the code accepts this argument.
It's possible to add the support for this argument to the cli? I'm trying to use this function on my github actions pipeline and will be much more easy using direclty the cli instead of pushing the code on so many repositories that i need. 😅
Examples
Command that i'm trying to use:
clear_lambda_storage --num-to-keep 3 --function-names=function-name --regions=us-east-1
Command that i successfully used running the code locally:
python clear_lambda_storage.py --num-to-keep 3 --function-names=function-name --regions=us-east-1
Current supported arguments on cli:
The text was updated successfully, but these errors were encountered: