worried-engineer-33884
09/10/2019, 3:54 PMType '{ StringEquals: { "s3:prefix": string[]; }; StringLike?: undefined; }' is not assignable to type 'Conditions'.
Property 'StringLike' is incompatible with index signature.
Type 'undefined' is not assignable to type 'ConditionArguments'.
I think this is because I have different keys in the condition for each statement: StringEquals
in one, StringLike
in the other. Is this a possible bug in the aws.iam.Conditions
interface?
https://github.com/pulumi/pulumi-aws/blob/master/sdk/nodejs/iam/documents.ts#L98
cc @dazzling-memory-8548white-balloon-205
09/10/2019, 5:06 PMas aws.iam.PolicyStatement[]
on the second to last line.worried-engineer-33884
09/10/2019, 5:11 PMwhite-balloon-205
09/10/2019, 6:18 PM