resource tag

A key and value label, such as Role=web or Environment=production, attached to a cloud resource to describe it.

In more detail

Tags let people and tools find, group and bill resources by purpose, owner or environment. They only help if everyone applies them consistently.

Examples

Ansible inventory plugins can filter instances by tag and turn tag values into groups with keyed_groups.
In AWS: A key and value label, such as Owner=finance-platform, attached to an AWS resource so it can be grouped, reported on and controlled.
Name=invoice-worker
Owner=finance-platform
Environment=production
CostCenter=FIN-042
ManagedBy=terraform
tags = { Owner = "platform", Team = "orders" }
In Terraform: Tags drive cost reports, ownership and cleanup, so teams usually require some on every resource and check for them with policy. In Terraform tags are a map argument, often built with merge() so every resource gets the standard set.
data_classification=restricted on a database, checked by a plan guardrail

Related terms

Taught in

References

Certification courses