AWS cloudformation包命令对AWS-CLI/56年1月10日
没有发现我是一个AWS小白和已经工作,调查无服务器部署。
我下面的例子: http://docs.aws.amazon.com/lambda/latest/dg/serverless-deploy-wt.html 以及 http://docs.aws.amazon.com/cli/latest/reference/cloudformation/package.html 和我遇到以上。看起来“aws cloudformation”根本没有“包”命令。
这里是我的 “AWS cloudformation包” 命令的输出:
usage: aws [options] <command> <subcommand> [<subcommand> ...]
[parameters] To see help text, you can run:
aws help aws <command> help aws <command> <subcommand> help aws:
error: argument operation: Invalid choice, valid choices are:
cancel-update-stack |
continue-update-rollback |
create-change-set |
create-stack |
delete-change-set |
delete-stack |
describe-account-limits |
describe-change-set |
describe-stack-events |
describe-stack-resource |
describe-stack-resources |
describe-stacks |
estimate-template-cost |
execute-change-set |
get-stack-policy |
get-template |
get-template-summary |
list-change-sets |
list-stack-resources |
list-stacks |
set-stack-policy |
signal-resource |
update-stack |
validate-template |
wait |
help
任何意见,不胜感激!先谢谢你!
在我看来,我的aws-cli是1.10。[*]版本。我已经使用“卷曲方法”来更新aws-cli,并且出现了“aws cloudformation package”。 –