Process for Managing Tags
  • Updated on 20 May 2020
  • 1 minute to read
  • Contributors
  • Print
  • Comments
  • Share
  • Dark
    Light

Process for Managing Tags

  • Print
  • Comments
  • Share
  • Dark
    Light

I found that relying on the development and devops process to apply the right tags to resources is intermittent as to how reliable it is. If a tag is missed I need to wait until the next release before it is applied and I can not easily change them. I wanted to have a process where I can manage specific tags on Azure resources that we use for governance of resources outside of the actual ALM process of changing and deploying the resource.

I have put together a process where I will basically download the "Governance Tags" I am interested in for the resources I care about to CSV files for each of the environments I care about. I can then change these in the csv files and upload changes back to Azure.

In my case we have the following tags that I am interested in from a governance perspective:

Tag Name Use
costCentre Which cost centre the resource belongs to
managedBy Who manages the resource
documentationLink A link to documentation for the resource

The process will be:

  1. Run a powershell script which will download the tags to csv files
  2. Update the csv files with appropriate tag values
  3. Run a powershell script to update the resources that i have updated the tags for

Step 1 is explained on the following link: Click Here
Step 2 is explained on the following link: Click Here

Was this article helpful?