Chatbot in Slack

0

Using the aws cli in a PowerShell prompt to query the names of Lightsail instances I use "aws lightsail get-instances --query instances[].name" and it works fine.

The same command using the AWS Chatbot in Slack gets hung up on the instances[].name portion of the command. Is there another way to retrieve just the names of the instances?

Edited by: swkls on Oct 23, 2020 7:01 AM

swkls
feita há 4 anos274 visualizações
1 Resposta
0

I was not using the correct syntax. This worked: @aws lightsail get-instances --query Instances[*].Name --region us-east-1

swkls
respondido há 4 anos

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.

Diretrizes para responder a perguntas