Skip to content

How to append rules, customTags? #427

@CarlSjoeholmMyob

Description

@CarlSjoeholmMyob

"cfnLint.appendRules": [ { "customTags": ["xxxx:system", "xxxx:data-classification"], "rules": { "xxxx:system": { "type": "string", "pattern": "^[a-zA-Z0-9-:]+$", "maxLength": 50 }, "xxxx:data-classification": { "type": "string", "enum": ["public", "restricted", "general"] } }, } ]

This setting still alerts the linter of tagging errors:
image

How do I extend the rules to accept the format of the tags?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions