@@keyword_mapping@@ syntax in yaml results in errors


For our auth0 project we have a multi-tenant setup. Our tenant.yaml has several references to the AUTH0_KEYWORD_REPLACE_MAPPINGS defined in deploy-config.{env}.json.

Following the docs they either have the form ##keyword## (for string literals), or @@keyword@@, for instance for arrays.

@ is however a special character in yaml, and if you have YAML validation enabled (for instance with the YAML extension in VS Code, offered by Red Hat) this results in errors stating that Plain value cannot start with reserved character @, see screenshots below.

And entry in deploy-config.{env}.json, under AUTH0_KEYWORD_REPLACE_MAPPINGS property:

Is there a workaround for this, other than disabling YAML validation?