This message was deleted.
# typescript
s
This message was deleted.
w
On first glance, you might think it would just pick the same provider as the SNS queue, but it's perfectly legit to have lambda functions in one regions triggered by an SNS queue in another region?
b
@wonderful-bird-78843 you provider is in the wrong place:
Copy code
new aws.lambda.CallbackFunction(`foo-runner-func`, {,
    runtime: "nodejs14.x",
}, { provider: provider });
w
Aha! I'm not sure what's going on with the comma after the
{
there? is it :
Copy code
CallBackFunction(string, object, object?)
Thank you!
b
yep!
w
Thanks again for amazing support 🙂