Ir para o conteúdo

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

feita há 4 anos434 visualizações

1 Resposta
1
Resposta aceita

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
ESPECIALISTA

respondido há 4 anos

ESPECIALISTA

avaliado há 2 anos

  • 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

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.