cdklabs/awscdk-service-spec

L1 Tags

Closed this issue · 1 comments

Not all tag properties are conforming to the standard format of Array<Tag>.

Need to allow other types.

aws-eks/lib/managed-nodegroup.ts:428:7 - error TS2322: Type '{ [name: string]: string; } | undefined' is not assignable to type 'CfnTag[] | undefined'.
  Type '{ [name: string]: string; }' is missing the following properties from type 'CfnTag[]': length, pop, push, concat, and 29 more.

428       tags: props.tags,
          ~~~~

  aws-eks/lib/eks.generated.ts:2667:12
    2667   readonly tags?: Array<cdk.CfnTag>;
                    ~~~~
    The expected type comes from property 'tags' which is declared here on type 'CfnNodegroupProps'

Closed by #217