https://pulumi.com logo
#general
Title
# general
a

acceptable-lunch-36051

09/04/2018, 10:12 PM
Hi, I'm trying to use a second AWS provider to do some work in another account by assuming a role in that account:
let p = new aws.Provider('audit', { assumeRole: { roleArn: 'arn:aws:iam::XXXXXXXX' }, region: <aws.Region>region });
but I'm getting this error which seems to come from the go code:
error: pulumi:providers:aws resource 'audit's property 'assumeRole' value {map[roleArn:{arn:aws:iam::XXXXXXXX}]} has a problem: provider property values must be strings
2 Views