Skip to content

Tagging Policy


Adding multiple tags

  • Terraform is used to assign the Tagging Policy to the subscription level, and when resources lack tags, new tags are created.

  • The tfvars file contains the value for the tags, which is then passed to Terraform for use in the policy definition defined in the tf file.

  • Tags for Tier-0 resources are as follows :-

Environment     = ""
ASKID           = ""
Application     = ""
Compliance      = ""
ResourceType    = ""
Client          = ""
  • Tags for Client resources are as follows.
ClientAgency    = ""
ContractEndDate = ""
Criticality     = ""
  • The tags listed above are those that are automatically applied whenever a new resource is created in a specific subscription by an Azure policy.

  • This policy will get applied on both the Client and Tier0 subscriptions.

  • Terraform is used to assign these policies, hence the Tier-0 subscription will be storing both the Client's and Tier-0's tfstate files.

  • There are two different pipelines for both the Client and Tier-0 policy deployment and assignment.