https://pulumi.com logo
#aws
Title
n

nice-airport-15607

08/04/2020, 6:44 PM
anyone here know how to return
Copy code
readonly lambda?: pulumi.Input<{
        functionArn: pulumi.Input<string>;
    }>
☝️ is that supposed to be
Copy code
lambda: () => ``
or
Copy code
lambda: `lambda.arn`
im assuming just the string, but im getting an error
Copy code
TS2322: Type 'string' is not assignable to type 'Input<{ functionArn: Input<string>; }>'.
nvm, i guess its
Copy code
lambda: {
functionArn: somefunction.arn
}