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.

Implementation of validation of tag values

See original GitHub issue

cfn-lint version: (cfn-lint --version)

Description of issue. I tried to implement tag value validation, but I’m having this problem: E0002 Unknown exception while processing rule E9000: expected string or bytes-like object this when having to pass the tag value with: example: !Ref Squad

Tags: - Key: squad Value: !Ref Squad

I would like your help to solve this problem that I am having

Att

Please provide as much information as possible:

  • Template linting issues:
    • Please provide a CloudFormation sample that generated the issue.
    • If present, please add links to the (official) documentation for clarification.
    • Validate if the issue still exists with the latest version of cfn-lint and/or the latest Spec files
  • Feature request:
    • Please provide argumentation about the missing feature. Context is key!

Cfn-lint uses the CloudFormation Resource Specifications as the base to do validation. These files are included as part of the application version. Please update to the latest version of cfn-lint or update the spec files manually (cfn-lint -u)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
william-araujocommented, May 19, 2021

I performed an update on the code and sent it again

https://github.com/aws-cloudformation/cfn-lint/issues/2010

On Tue, May 18, 2021 at 8:46 PM Pat Myron @.***> wrote:

Sorry, it looks like the indentation got lost there, bit tough to read

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aws-cloudformation/cfn-lint/issues/2010#issuecomment-843639260, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJZE2SVSCFIN7KJQ4C2QLLTOL35JANCNFSM45BNXYXA .

0reactions
sravanijammula17commented, Aug 6, 2021

Even Im having the same problem not sure how to pass specific tag (key,value) in custom_rules.txt.Looking for help in this area.Please provide some sample example in custom_rules.txt file

Read more comments on GitHub >

github_iconTop Results From Across the Web

About validations and alerts in the Google tag - Google Ads Help
During tag implementation, validate your tag using Tag Assistant (available in English only). This tool will catch most syntax errors. Go to Tag...
Read more >
15 Using WebLogic JSP Form Validation Tags
To use your own validator class: ... Implement the validate() method. In this method: Look up the value of the field you are...
Read more >
JSF Validation Example Tutorial - validator tag, Custom ...
The JSF library defines a group of core tags that corresponds to javax. faces. validator. Validator implementations.
Read more >
ObservePoint Applications: Tag Presence Validation
One way to get quick value out of ObservePoint is to add rules for alerting based around your current implementation and validate for...
Read more >
Client-side form validation - Learn web development | MDN
Note: <input type="number"> (and other types, such as range and date ) can also take a step attribute, which specifies what increment the...
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