sparse-intern-71089
01/20/2023, 4:21 PMechoing-dinner-19531
01/21/2023, 1:39 PMpulumi.Output.format
instead, it works pretty much the same as the normal python format method but will handle any arguments that are outputs:
policy['Statement'][0]['Principal']['AWS'] = Output.format("arn:aws:iam::{0}:root", account.id)
echoing-dinner-19531
01/21/2023, 1:40 PMflat-byte-25499
01/23/2023, 1:33 PM