Home
Blog
Now Available: env zero Environment Tagging

Now Available: env zero Environment Tagging

Chris Graham
env zero Marketing
with special guest
Mitchell
Hashimoto
Mitchell Hashimoto headshot

Environment Tags are now available in env zero. You can attach key-value tags to any environment, like team=payments or cost-center=1042, to record ownership, cost attribution, or any other classification your project hierarchy doesn't express. Tags can be set in the UI or defined as code, filtered on across your estate, changed in bulk, and queried alongside your deployed infrastructure.

The request came from customers managing ownership outside the platform. One was maintaining 653 environment ownership overrides in a spreadsheet: correct on the day it was exported, stale by the end of the week, and impossible to filter or act on! Tags move that information into the environment itself.

What's new

Tag editing per environment

A Tags card in the environment's Settings tab, with suggestions drawn from values already used elsewhere in your organization. A key can hold one or more values, and an environment can carry up to 50 key-value pairs.

Tags as code

The tags attribute on env0_environment is supported in the Terraform provider as of v1.31.7:

resource "env0_environment" "payments_staging" {
  name        = "payments-staging"
  project_id  = env0_project.platform.id
  template_id = env0_template.service.id

  tags = {
    "team"        = "payments"
    "cost-center" = "1042"
  }
}

Ownership is then reviewed in the same pull request as the rest of the environment definition, rather than tracked in a separate document.

Filtering and search

Filter the Explorer table by key=value, or search a project's environment list by tag. Explorer keeps the filter in the page URL, so a tag-filtered view is a link you can share.

Bulk changes

Add Tags and Remove Tags commands in the bulk operations wizard apply the same change across every selected environment, so retagging after a reorg is a single pass.

Introspect support

Tags feed into Introspect, so the labels you define are queryable against your actual deployed cloud resources. Note that in the asset graph, a key holding multiple values is flattened into one comma-separated string (payments,platform). This is lossless by design, and it is why the tag character set does not permit commas.

Permissions and limits

  • Editing tags requires the Edit Environment Settings permission.
  • Anyone who can view an environment can read its tags, so do not store secrets in them.
  • Maximum of 50 key-value pairs per environment.

Availability

Environment Tags are available now in the UI and in the Terraform provider from v1.31.7. See the Environment Tags guide for full documentation.

Schedule a technical demo
See env zero in action
Schedule demo

Related Content

All articles