This message was deleted.
# general
s
This message was deleted.
s
For policies, @microscopic-florist-22719 assured me you can use this kind of thing:
Copy code
policy: pulumi.output({
    Version: "2012-10-17",
    Statement: [
         {
              // refer to outputs here without issue
         }
     ]
})
Also worth noting that for assume role there is
iam.assumeRolePolicyForPrincipal()
and a bunch of common principals defined
b
oh, if that works out of the box then yeah that removes the need 👍
oh actually it looks like .output is pretty much the function I was describing. Perfect, thanks.