This message was deleted.
# python
s
This message was deleted.
e
Don't use 'f' strings with pulumi string outputs, they won't work. Use
pulumi.Output.format
instead, it works pretty much the same as the normal python format method but will handle any arguments that are outputs:
Copy code
policy['Statement'][0]['Principal']['AWS'] = Output.format("arn:aws:iam::{0}:root", account.id)
f
I was able to make it work! Thank you very much
🙌 1