Aws cli workflow example

Hello Guys,

I would like to perform some query on aws, but I’m not sure what is the best was to do it.
Usually I use my terminal or python snippet with the boto3 library.

An example would be to get information like :

aws support describe-trusted-advisor-check-result --check-id XXXX --profile YYYY --language en  --query "result.flaggedResources[?status!='not_available' ]"

Happy to get some feedback or ideas :slight_smile:

Hi @flo, welcome to the community!

You can continue to use your existing CLI commands even with n8n in case where no pre-built node is available and you’d rather not set up your API requests using n8n’s HTTP Request node.

You have essentially two options in such a scenario:

  • The Execute Command node. This lets you run any CLI command on the host.
  • Alternatively, you can also consider using the SSH node to run your command on a remote machine (in case the CLI isn’t available on the n8n host for example).
1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.