sparse-intern-71089
10/02/2018, 7:45 AMcool-helicopter-70130
10/02/2018, 7:45 AMMalformedPolicyDocument: Syntax errors in policy.{"Version":"2012-10-17","Statement":[{"Action":"lambda:InvokeFunction","Effect":"Allow","Resource":{"__pulumiOutput":true,"isKnown":{}}}]}cool-helicopter-70130
10/02/2018, 7:46 AMconst invocationPolicy = new aws.iam.RolePolicy(`${apiName}-authorizer-invoke-lambda-role-policy`, {
      role: invocationRole,
      policy: JSON.stringify({
        "Version": "2012-10-17",
        "Statement": [
          {
            "Action": "lambda:InvokeFunction",
            "Effect": "Allow",
            "Resource": authorizerLambda.arn    // <==== HERE
          }
        ]
      }),
    }, { dependsOn: authorizerLambda });    // <=== I tried adding this to see if it would helpcool-helicopter-70130
10/02/2018, 8:14 AM.apply()policy: authorizerLambda.arn.apply(arn => JSON.stringify({
        "Version": "2012-10-17",
        "Statement": [
          {
            "Action": "lambda:InvokeFunction",
            "Effect": "Allow",
            "Resource": arn
          }
        ]
      })),white-balloon-205
apply