flat-guitar-86436
09/23/2019, 10:24 PM.apply
multiple `Output`s ?
/**
* DevOps Role
*
* @description role to be assumed only by IAM entities in the Admin Account.
*/
export const devopsRole = new aws.iam.Role(`${INFRA_CONFIG.ORG_NAME}-devops`, {
assumeRolePolicy: adminAccount.id.apply(id =>
JSON.stringify({
Version: '2012-10-17',
Statement: [
{
Action: 'sts:AssumeRole',
Principal: {
AWS: [id]
},
Effect: 'Allow',
Sid: ''
}
]
})
)
});
adminAccount.id
to apply, but what if I need other values to be applied as well?gentle-diamond-70147
09/23/2019, 10:25 PMpulumi.all(...)
https://www.pulumi.com/docs/intro/concepts/programming-model/#allflat-guitar-86436
09/23/2019, 10:28 PM