Skip to content

Tag

Snowflake Documentation

Represents a tag in Snowflake, which can be used to label various resources for better management and categorization.

Examples

YAML

tags:
  - name: cost_center
    comment: This is a sample tag
    allowed_values:
      - finance
      - engineering
      - sales

Python

tag = Tag(
    name="cost_center",
    allowed_values=["finance", "engineering", "sales"],
    comment="This is a sample tag",
)

Fields

  • name (string, required) - The name of the tag.
  • allowed_values (list) - A list of allowed values for the tag.
  • comment (string) - A comment or description for the tag.