cloudform icon indicating copy to clipboard operation
cloudform copied to clipboard

Unable to specify List as return type for Mapping

Open NOtherDev opened this issue 5 years ago • 0 comments

Specifying List type as a value in Mapping is supported by CloudFormation:

Mapping: {
    Certificates: {
        stage: {
            ARNs: [
                {CertificateArn: "ASDF"},
                {CertificateArn: "GHJK"},
            ]
        }
    }
}

This is a valid construct, but cloudform rejects it expecting string | number | string[] as the 2nd-level value.

NOtherDev avatar Feb 19 '20 09:02 NOtherDev