incalculable-diamond-5088
03/08/2019, 10:42 PMconst samlProvider = new aws.iam.SamlProvider('saml_provider', {...})
const oktaAssumePolicy = pulumi.output(aws.iam.getPolicyDocument({
statements: [{
principals: [{
type: "Federated",
identifiers: [samlProvider.arn]
}]
}]
}))
Note the statements->principals->identifiers
Error: invocation of aws:iam/getPolicyDocument:getPolicyDocument returned an error: grpc: error while marshaling: proto: repeated field Values has nil element
pulumi.all({ statements: ...})
is that the correct approach?gentle-diamond-70147
03/08/2019, 10:54 PM