plain-businessperson-30883
06/19/2019, 3:18 PMaws.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