question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Regression] Cloudformation Support

See original GitHub issue

Originally closed issue in https://github.com/redhat-developer/yaml-language-server/issues/20 but it looks like Cloudformation support is no longer present.

image

This is with the following tags:

...
    "yaml.customTags": [
        "!Ref",
        "!GetAtt",
        "!FindInMap sequence",
        "!FindInMap scalar",
        "!GetAtt",
        "!GetAZs",
        "!Cidr",
        "!ImportValue",
        "!Join sequence",
        "!Select",
        "!Split",
        "!Sub sequence",
        "!Sub scalar",
        "!And",
        "!Equals",
        "!If",
        "!Not",
        "!Or"
    ]

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:22
  • Comments:23 (5 by maintainers)

github_iconTop GitHub Comments

59reactions
lorcanoeirecommented, Jul 16, 2019

This is the full set of required configurations (worked for me):

{
    "window.zoomLevel": 0,
    "workbench.colorTheme": "Material Theme Darker",
    "yaml.customTags": [
        "!And scalar",
        "!And mapping",
        "!And sequence",                
        "!If scalar",
        "!If mapping",
        "!If sequence",                
        "!Not scalar",
        "!Not mapping",
        "!Not sequence",                
        "!Equals scalar",
        "!Equals mapping",
        "!Equals sequence",                
        "!Or scalar",
        "!Or mapping",
        "!Or sequence",                
        "!FindInMap scalar",
        "!FindInMap mappping",        
        "!FindInMap sequence",
        "!Base64 scalar",
        "!Base64 mapping",
        "!Base64 sequence",                
        "!Cidr scalar",
        "!Cidr mapping",
        "!Cidr sequence",                
        "!Ref scalar",
        "!Ref mapping",
        "!Ref sequence",                
        "!Sub scalar",
        "!Sub mapping",
        "!Sub sequence",                
        "!GetAtt scalar",
        "!GetAtt mapping",
        "!GetAtt sequence",                
        "!GetAZs scalar",
        "!GetAZs mapping",
        "!GetAZs sequence",                
        "!ImportValue scalar",
        "!ImportValue mapping",
        "!ImportValue sequence",                
        "!Select scalar",
        "!Select mapping",
        "!Select sequence",
        "!Split scalar",
        "!Split mapping",
        "!Split sequence",                
        "!Join scalar",
        "!Join mapping",
        "!Join sequence"                
    ],
    "yaml.format.enable": true,
}
27reactions
JPinkneycommented, Mar 20, 2019

Hi everyone! Its been a long time coming but I’ve finally got custom tags working when you have a tag with multiple different types. That means in the next version you’re able to do:

"yaml.customTags": [
        "!myTag1 scalar",
        "!myTag1 mapping",
        "!myTag1 sequence",
    ]

and the document will report no errors if you have something like:

test: !myTag1 hello_world

test2: !myTag1
  hello: world

test3: !myTag1
  - hello: world
Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting started data sharing with AWS CloudFormation
Getting started data sharing with AWS CloudFormation · Click Launch CFN stack , which takes you to the CloudFormation service in the AWS...
Read more >
Does AWS CloudFormation StacksSets support creating quick ...
AWS Documentation clearly states the support of quick links for CloudFormation Stacks here through which we can automatically populate the ...
Read more >
Datadog-Amazon CloudFormation
The Datadog-AWS CloudFormation Resources allow you to interact with the supported Datadog resources, send resources to any Datadog datacenter, and privately ...
Read more >
Automatic AWS CloudFormation rollbacks upon a test failure ...
If the AWS CodeBuild detects a regression (usually an alarm ... The main benefit of using the AWS CodeDeploy service is that it...
Read more >
Infrastructure as Code (IaC) Scanning - GitLab Docs
IaC Scanning supports configuration files for Terraform, Ansible, AWS CloudFormation, and Kubernetes. Requirements. IaC Scanning runs in the test stage, which ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found