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 template conversion fails when intrinsic functions using ! are present #96

Closed
milesjustinr opened this issue Apr 5, 2023 · 0 comments

Comments

@milesjustinr
Copy link

Any place using intrinsic functions containing ! instead of Fn:: will fail when converting YAML. The code sample below will fail while the second sample below will succeed. When using JSON format for the template, there is no issue which rules out a template issue.

IsUsEast1: !Equals 
  - !Ref 'AWS::Region'
  - us-east-1
IsUsEast1: 
    Fn::Equals:
    - Fn::Ref 'AWS::Region'
    - us-east-1
iph added a commit that referenced this issue Apr 5, 2023
Addresses #96 for not supporting the YAML shorthand forms.
iph added a commit that referenced this issue Apr 5, 2023
Addresses #96 for not supporting the YAML shorthand forms.
@iph iph closed this as completed Apr 7, 2023
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