3
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?

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
opticsponge
  • 71
  • 1
  • 5

2 Answers2

4

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.

opticsponge
  • 71
  • 1
  • 5
0

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

bpavlov
  • 1,080
  • 12
  • 32