- Print
- Comment
- DarkLight
- PDF
Process for Managing Tags
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:
- Run a powershell script which will download the tags to csv files
- Update the csv files with appropriate tag values
- 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