Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.99 KB

CAF.Tag.ResourceGroup.md

File metadata and controls

53 lines (38 loc) · 1.99 KB
pillar category online version
Cost Optimization
Metadata tagging

Tag resource groups

SYNOPSIS

Tag resource groups with mandatory tags.

DESCRIPTION

Metadata tags store additional information about resource groups. Each tags is a key value pair, with a tag name and tag value. When used consistently, metadata tags can be used to identify resource groups for searching and reporting. Up to 50 tags can be set on each resource group.

Additionally tags can store information useful to automated tasks. Some examples include; de-provisioning, scaling, and patching.

RECOMMENDATION

Consider tagging resource groups with the mandatory tags. Additionally consider enforcing mandatory tags with Azure Policy.

NOTES

Resources group pass when they have the required tags. If any of the tags are missing, this rule fails. By default:

  • No mandatory tags are configured.
  • Tag names are case-sensitive.
  • Tag values are case-sensitive.

To configure this rule:

  • Override the CAF_ResourceGroupMandatoryTags configuration value with an array of required tags.
  • Override CAF_MatchTagNameCase with false to make tag names case-insensitive. By default tag names are case-sensitive. This option affects all tag rules.
  • Override CAF_MatchTagValueCase with false to make tag values case-insensitive. By default tag values are case-sensitive. This option affects all tag rules.

LINKS