Terratag is a part of the env0 platform.

Try env0 for Free

Terratag by env0

Terratag is a CLI tool allowing for tags or labels to be applied across an entire set of Terraform or Terragrunt files. Terratag will apply tags or labels to any AWS, GCP and Azure resources.

Install Terratag

Features

Solves the complicated problem of tagging resources across applications at scale

Removes the risk of human error when adding tags

Retroactively tag IaC resources previously deployed

Utilize the tags for cost management, organization, reporting, etc.

Usage

1

Install from
homebrew:

➜ brew install env0/terratag/terratag

Or download the latest release binary

2

Initialize Terraform
modules

terraform init

3

Run
Terratag

terratag -dir=foo/bar -tags={\"environment_id\": \"prod\"}

For more detailed information