I’m having some trouble with `aws.iam.getPolicyDoc...
# typescript
p
I’m having some trouble with
aws.iam.getPolicyDocument
. I need to set a KMS Key in the
resources
field, but I get an error
error TS2322: Type 'Output<string>' is not assignable to type 'string'.
. It seems the interface expects a string
resources?: string[];
. Is there a way to convert the
Output<string>
to
string
? The only thing I see is to not use the
aws.iam.getPolicyDocument
. I see other thread here with a similar issue, but no answer was given: https://pulumi-community.slack.com/archives/CJ909TL6P/p1558459714056300