【发布时间】:2021-06-08 15:42:02
【问题描述】:
我想为 AWS Amplify 使用 start-deployment,但我的 CLI 告诉我它找不到该命令。怎么会?它是just one of the features。以及如何解决这个问题?
【问题讨论】:
标签: amazon-web-services aws-amplify-cli amplify
我想为 AWS Amplify 使用 start-deployment,但我的 CLI 告诉我它找不到该命令。怎么会?它是just one of the features。以及如何解决这个问题?
【问题讨论】:
标签: amazon-web-services aws-amplify-cli amplify
从您的屏幕截图中,我假设您正在尝试调用名为 amplify 的二进制文件。相反,您应该调用 aws cli 二进制文件的 amplify 命令(参见概要 [1])。
因此,您的调用应该类似于:
aws amplify start-deployment --app-id xxxxx --branch-name xxxxx
[1]https://awscli.amazonaws.com/v2/documentation/api/latest/reference/index.html#synopsis
【讨论】: