Skip to content

Yaml schema errors on FindInMap_Inside_Sub template #56

@oogetyboogety

Description

@oogetyboogety

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:

        - {
   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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions