- {
87 # This is where we keep the complex things we want inserted into the Fn::Sub literal block
88 # You can even use Fn::If statements in this section
E 89 LocalFindInMapVarUsername: !FindInMap [ EnvMap, !Ref EnvNameParam, UserToCreate ], ■ unacceptable node kind for !<!FindInMap> tag; it should be "scalar", not "sequence"
E 90 LocalFindInMapVarWebserver: !FindInMap [ EnvMap, !Ref EnvNameParam, WebServer ], ■■ unacceptable node kind for !<!FindInMap> tag; it should be "scalar", not "sequence"
E 91 LocalIfVar: !If [ ExampleConditionIfDev, 'This box is development', 'This box is testing' ] ■■■ missed comma between flow collection entries
92 }
93 Outputs:
The schema appears to cause the below errors on https://github.com/awslabs/aws-cloudformation-templates/blob/master/aws/services/CloudFormation/FindInMap_Inside_Sub.yaml#L89-L91: