white-balloon-205
assumeRole
property. We'll see what we can do to get a nearer term fix for this in.microscopic-florist-22719
assumeRole
to "{ roleArn: \"arn:aws:iam::XXXXXXXX\" }"
(i.e. the JSON serialization of the value) would work, but I'm not sure.acceptable-lunch-36051
09/04/2018, 10:42 PMerror: [runtime] index.ts(26,35): error TS2345: Argument of type '{ assumeRole: string; region: Region; }' is not assignable to parameter of type 'ProviderArgs'.
microscopic-florist-22719
any
? e.g.
let p = new aws.Provider('audit', <any>{ assumeRole: "{ roleArn: \"arn:aws:iam::XXXXXXXX\" }", region: <aws.Region>region });
acceptable-lunch-36051
09/04/2018, 10:54 PMmicroscopic-florist-22719
acceptable-lunch-36051
09/04/2018, 10:55 PMbig-piano-35669