Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yaml schema errors on FindInMap_Inside_Sub template #56

Open
oogetyboogety opened this issue May 26, 2021 · 1 comment
Open

Yaml schema errors on FindInMap_Inside_Sub template #56

oogetyboogety opened this issue May 26, 2021 · 1 comment

Comments

@oogetyboogety
Copy link
Contributor

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:
@PatMyron
Copy link
Contributor

believe this may be a duplicate of #29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants