【问题标题】:How to create Greengrass group(aws iot)如何创建 Greengrass 组(aws iot)
【发布时间】:2021-04-03 07:39:48
【问题描述】:

我需要在 aws iot(windows) 中创建 Greengrass 组和核心。

我已经参考了文档https://docs.aws.amazon.com/cli/latest/reference/greengrass/create-group.html

我已经尝试过使用 powershell 脚本aws greengrass create-group \ --name ggawsgreen

执行上述 powershell 脚本时出错。 error => aws : 术语“aws”未被识别为 cmdlet、函数、脚本文件或可运行程序的名称。检查名称的拼写,如果包含路径,请验证路径是否正确并重试

如何在 windows powershell 中创建 Greengrass 组和核心(aws iot)

【问题讨论】:

  • 那么,您尝试了该命令...发生了什么?你收到错误信息了吗?请edit您的问题并提供详细信息。
  • 执行上面的 powershell 脚本时出错。 error => aws : 术语“aws”未被识别为 cmdlet、函数、脚本文件或可运行程序的名称。检查名称的拼写,如果包含路径,请验证路径是否正确,然后重试。
  • 好的,所以您的问题实际上与设置 Greengrass 无关,而是与安装 AWS 命令​​行工具有关?
  • 我已尝试使用 Install-Module -Name AWS.Tools.Installer -Force 命令。但仍然出现错误。参考:docs.aws.amazon.com/cli/latest/reference/greengrass/…
  • @IMSoP 你能帮帮我吗

标签: powershell aws-iot


【解决方案1】:

出现错误是因为你没有安装AWS Command Line Interface或简称aws cli

或者“aws cli”不在您的path 中。

download here

【讨论】:

    猜你喜欢
    • 2019-09-01
    • 1970-01-01
    • 2021-02-04
    • 2020-07-15
    • 2021-11-02
    • 1970-01-01
    • 2019-05-03
    • 2016-04-01
    • 2021-03-13
    相关资源
    最近更新 更多