내용으로 건너뛰기

AWS IoT PubSubSdk Workshop: GDK tool fails in ca-central-1

0

I am running this workshop environment (C9, etc) in ca-central-1 but 'gdk component build' fails for this region.

An inclusive list is referenced in the error:

Error: 'ca-central-1' is not one of ['us-east-2', 'us-east-1', 'us-west-2', 'ap-south-1', 'ap-northeast-2', 'ap-southeast-1', 'ap-southeast-2', 'ap-northeast-1', 'cn-north-1', 'eu-central-1', 'eu-west-1', 'eu-west-2', 'us-gov-west-1', 'us-gov-east-1']. 
  • Is there a simple fix, or is this bound into the GDK tool?

AWS Workshop: Build a Distributed IoT Application with the AWS IoT Greengrass PubSub SDK

질문됨 4년 전432회 조회

1개 답변
1
수락된 답변

Hi,

it seems that the GDK does not yet include the ca-central-1 region. Although Greengrass endpoints are available in ca-central-1. You can create an issue at GitHub or you can try to add ca-central-1 in gdk/static/config_schema.json. There is a section "description": "AWS regions supported by AWS IoT Greengrassv2. Must be one of the enum values.". But ca-central-1 is missing.

Cheers,
Philipp

AWS
전문가

답변함 4년 전

전문가

검토됨 2년 전

  • Yes, cloning the github gdk, making the edit to the list as per above, and running local pip install solved the issue. One may have to uninstall first ...

    python3 pip uninstall gdk python3 -m pip install --user ./aws-greengrass-gdk-cli

    BTW, the current gdk clone now includes: ca-central-1

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠