I am trying to use the AWS Polly service to turn some text into speech. To do that, I tried using the HTTP node as there is not Polly node as of this moment (Unless a new version came out that I don’t know about)
You can see the node below. I get a forbidden error, but my credentials are good (100%)
Here’s a working example of option 1 (using the AWS SDK libraries in a code node) if you want to try it. You would have to build a new n8n container image to include the SDK libraries, and add some variables in your docker (compose?) environment, but it can be done.
Update: I captured a more formal writeup for this on Dev.to, titled Using AWS SDK from n8n Code Node, which I think should apply to nearly any of the AWS SDK APIs that aren’t directly supported in one of the built in n8n nodes.
I resorted to installing aws-cli on the container image and using a command node to run Polly. Works just fine with ENV vars for the IAM role access key.
A node would be perfect but this is also good for my usage.