Manage tags

Tags in Decodable allow you to organize and manage your resources at scale by attaching key/value pairs to them. These tags can help categorize, filter, and query resources. Tags can be used with streams, connections, pipelines, and secrets.

Tags follow these rules:

  • Tag keys must be unique for a given resource.

  • Tag keys and values are case-sensitive.

  • Tag keys must start with a letter, followed by up to 62 characters that can be letters, numbers, hyphens, or underscores.

  • Tag values are optional, and can be up to 255 characters.

A resource can have up to 20 tags.

Creating and updating tags

Tags can be configured on a resource using the web UI or the Decodable CLI.

  1. In the web UI, click on the Details tab of the resource.

    Screenshot of the tags dialog
  2. From the CLI, use the declarative apply command. Specify the tag details within the resource definition.

Using tags to query resources

Tags are useful for filtering resources by specifying a tag key and value in a SQL-like expression. You might use this for finding resources that share common attributes or for organizing resources based on their purpose, owner, or status.

Querying is done using the Decodable CLI and the declarative query command. For example:

decodable query --tag-expression "env='prod'"

Refer to the declarative query page for more details of the filter syntax.