How do you do a policy with * principal?, this doe...
# aws
e
How do you do a policy with * principal?, this doesn't work
Copy code
const policyDoc = sqs.arn.apply(arn => aws.iam.getPolicyDocument({
    policyId: "1234",
    statements: [{
        effect: "Allow",
        principals: [{type: "*", identifiers:["*"]}],
e
Yeah, I might have to switch it to string json
b
you should be able to do the same with
getPolicyDocument