提问者:小点点

在 AWS-cli/1.10.56 上找不到 AWS Cloudformation 软件包命令



我是一名AWS新手,一直在研究无服务器部署。

我正在使用http://docs . AWS . Amazon . com/lambda/latest/DG/server less-deploy-wt . html以及http://docs . AWS . Amazon . com/CLI/latest/reference/cloud formation/package . html中的示例,并且正在经历上述情况。看来“aws cloudformation”根本就没有“打包”这个命令。

这是我的“aws云形成包”命令的输出:

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

非常感谢任何建议!提前谢谢!


共1个答案

匿名用户

AWS Cloudformation 软件包已添加到 AWS CLI 1.11.19 中。有关更多详细信息,请参阅 1.11.19 更新日志。

只需从1.10.56更新并重试,因为您当前使用的旧版本没有新命令。

题外话:此 AWS CLI 更改日志似乎比官方发行说明页面更新;我不确定这是不一致的,还是他们刚刚停止支持他们。