creamy-potato-29402
06/28/2018, 7:21 PMquaint-queen-37896
06/29/2018, 2:40 AMstocky-spoon-28903
06/29/2018, 6:24 PMaws.serverless.Function
?bitter-oil-46081
06/29/2018, 9:11 PMaws.lambda.Function
exposes an environment property, we do not expose a similar property on aws.serverless.Function
. I believe it would be as simple as adding environment?: string[]
to aws,serverless.FunctionOptions
and threading it down. Does that sound right @white-balloon-205 or I am missing something subtle here?white-balloon-205
06/29/2018, 11:46 PMadventurous-wire-92385
06/29/2018, 11:52 PMbig-soccer-75859
06/30/2018, 8:20 PMbig-soccer-75859
06/30/2018, 8:22 PMvar isArray = Array.isArray
and then pulumi can't work with that because isArray serializes as function isArray() { [native code] }
big-soccer-75859
06/30/2018, 8:23 PMArray.isArray
a serialization wouldn't be attempted (correct me if I'm wrong)big-soccer-75859
06/30/2018, 8:24 PMbig-soccer-75859
06/30/2018, 9:14 PMrequire('lodash')
within the actual function closure because pulumi interprets that differently and doesn't try to serialize anything. It's only if you use import
or require
outside of the function closure and then use that imported library within the closurebig-soccer-75859
06/30/2018, 9:25 PMbig-piano-35669
07/01/2018, 1:17 AMminiature-potato-84713
07/02/2018, 3:48 AMstocky-spoon-28903
07/02/2018, 9:11 AMcreamy-potato-29402
07/02/2018, 5:09 PMimportant-jackal-88836
07/02/2018, 11:44 PMbitter-oil-46081
07/03/2018, 12:11 AMchilly-crayon-57653
07/03/2018, 12:11 AMadventurous-wire-92385
07/03/2018, 2:14 AMmake ensure
I'm getting missing go dependencies when I run make
.creamy-potato-29402
07/03/2018, 2:15 AMcreamy-potato-29402
07/03/2018, 2:15 AMcreamy-potato-29402
07/03/2018, 2:15 AMcreamy-potato-29402
07/03/2018, 2:15 AMadventurous-wire-92385
07/03/2018, 2:16 AMmake ensure
doesn't call dep ensure
.creamy-potato-29402
07/03/2018, 2:16 AMadventurous-wire-92385
07/03/2018, 2:17 AMdep ensure &&
in front of make ensure && make
and it definitely got farther. I was going to look at source but I don't want to dig into common.mk for now if I can help itadventurous-wire-92385
07/03/2018, 2:20 AMgo get ...dep
instead of ...dep/cmd/dep
creamy-potato-29402
07/03/2018, 2:21 AMadventurous-wire-92385
07/03/2018, 2:21 AMadventurous-wire-92385
07/03/2018, 2:21 AM