3
votes
var AWS = require('aws-sdk');
var firehose = new AWS.Firehose();

Running above code in lambda with proper roles configured, AWS returns

errorMessage": "undefined is not a function

Anyone have an idea how can I get firehouse to load in aws-sdk?

2

2 Answers

4
votes

I opened ticket, with amazon and they verified firehouse isn't working with lambda, yet is working ec2.

They have escalated the issue to a service-team in order to support FireHose.

0
votes

If you update aws-sdk module to version 2.3.19 you should not get an error.