sparse-intern-71089
11/04/2020, 10:19 PMhundreds-musician-51496
11/04/2020, 10:22 PMdirectoryRetryHandler = new aws.lambda.CallbackFunction(`...`, {
...
}),
docsDistribution = new aws.cloudfront.Distribution(`...`, {
defaultCacheBehavior: {
...
lambdaFunctionAssociations: [{
eventType: "origin-response",
lambdaArn: pulumi.interpolate`${directoryRetryHandler.arn}:${directoryRetryHandler.version}`,
}]
}
}),
When I try to bring the stack up, AWS complains:
error creating CloudFront Distribution: InvalidLambdaFunctionAssociation: Invalid function ARN: undefined:undefined
hundreds-musician-51496
11/04/2020, 10:23 PMlemon-agent-27707
11/04/2020, 10:29 PMhundreds-musician-51496
11/04/2020, 10:31 PMhundreds-musician-51496
11/04/2020, 10:37 PM