The Resources section under EncryptionConfig is parsed with the special visitResourceNode function which fails because the value is a string
Error: Invalid resource type: undefined at Root.Resources.EKSCluster.Properties.EncryptionConfig.0.Resources: "secrets"
at _.fromPairs._.map (/Users/warrenwegner/unbounce/iidy/lib/preprocess/visitor.js:701:23)
at arrayMap (/Users/warrenwegner/unbounce/iidy/node_modules/lodash/lodash.js:639:23)
at Function.map (/Users/warrenwegner/unbounce/iidy/node_modules/lodash/lodash.js:9580:14)
at Visitor._visitResourceNode (/Users/warrenwegner/unbounce/iidy/lib/preprocess/visitor.js:677:11)
at Visitor.visitResourceNode (/Users/warrenwegner/unbounce/iidy/lib/preprocess/visitor.js:671:25)
at result (/Users/warrenwegner/unbounce/iidy/lib/preprocess/visitor.js:516:29)
at Visitor.visitNode (/Users/warrenwegner/unbounce/iidy/lib/preprocess/visitor.js:540:11)
at Visitor.visitMapNode (/Users/warrenwegner/unbounce/iidy/lib/preprocess/visitor.js:614:58)
at Visitor.visitPlainMap (/Users/warrenwegner/unbounce/iidy/lib/preprocess/visitor.js:592:25)
at result (/Users/warrenwegner/unbounce/iidy/lib/preprocess/visitor.js:529:29)
at Visitor.visitNode (/Users/warrenwegner/unbounce/iidy/lib/preprocess/visitor.js:540:11)
at _.map (/Users/warrenwegner/unbounce/iidy/lib/preprocess/visitor.js:620:43)
at arrayMap (/Users/warrenwegner/unbounce/iidy/node_modules/lodash/lodash.js:639:23)
at Function.map (/Users/warrenwegner/unbounce/iidy/node_modules/lodash/lodash.js:9580:14)
at Visitor.visitArray (/Users/warrenwegner/unbounce/iidy/lib/preprocess/visitor.js:620:18)
at result (/Users/warrenwegner/unbounce/iidy/lib/preprocess/visitor.js:526:29)
When specifying this template piece
The
Resources
section underEncryptionConfig
is parsed with the specialvisitResourceNode
function which fails because the value is a stringCurrent workaround is to escape that section like