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

yamlinc fails in unrecognized tag #30

Open
JHoerbst opened this issue Dec 7, 2020 · 1 comment
Open

yamlinc fails in unrecognized tag #30

JHoerbst opened this issue Dec 7, 2020 · 1 comment

Comments

@JHoerbst
Copy link

JHoerbst commented Dec 7, 2020

Analize : template-api.yaml

Problem : Error on file 'template-api.yaml' unknown tag !<!Ref> at line 32, column 27:
- !Ref Environment
^
Compile : template-masterdata-api.inc.yaml

This is aws sam logic and it shouldn't fail.

@powowbox
Copy link

powowbox commented Jan 25, 2023

for instance, if you have
InstanceId: !Ref MyEC2Instance

Use the alternative syntax

InstanceId:
   Ref: MyEC2Instance

The same alternative syntax can be use for every !XXX operator, see
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html

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