Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Unknown Tag !Join #109

Open
brettstack opened this issue Mar 24, 2017 · 7 comments
Open

Unknown Tag !Join #109

brettstack opened this issue Mar 24, 2017 · 7 comments

Comments

@brettstack
Copy link

I have added "!Join" to config along with others. This is the only one that gives an error. I assume it's to do with the way it's being used? i.e. it expects an array instead of a string like !Ref

ProviderName: !Join
  - ''
  - - cognito-idp.
  - !Ref 'AWS::Region'
@Arcanemagus
Copy link
Member

When trying that code in yaml-js I get could not determine a constructor for the tag !Join, so it doesn't look like it supports that construct in the first place. Is that valid YAML or an expansion of some sort?

@brettstack
Copy link
Author

brettstack commented Mar 28, 2017 via email

@Arcanemagus
Copy link
Member

This provider is just a wrapper around yaml-js, so if it doesn't understand that, then it won't be understood in here either unfortunately.

@severity1
Copy link

Hi I've added the custom tags but somehow i get this error;
AvailabilityZone: !Select [ 0, !GetAZs ] -> unknown tag !<!GetAZs>

just using pure linter-js-yaml package for linting yaml.

@jaybonk
Copy link

jaybonk commented May 26, 2018

Also receiving an unknown tag error on !GetAZs. I have entered it in the custom tags both as !GetAZs and !

@Tontze
Copy link

Tontze commented Jan 22, 2019

I have same issue with !secret, all other custom tags works ..

@Arcanemagus
Copy link
Member

As explained above, if yaml-js doesn't understand these custom tags, this provider won't either. Are you saying that you have configured yaml-js in a manner that when you run it it doesn't flag those as issues, but when running it here in Atom it does?

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

No branches or pull requests

5 participants