Azure/ResourceModules

[Issue from Discussions] Re-create Azure tags in existing azure environment

Opened this issue · 1 comments

Discussed in #3385

Originally posted by gbalajicl June 29, 2023
Hello All,

We are assigning tags to Azure resources. Some of the tags are assigned using Azure policy, and some of the tags are assigned manually.
We have assigned tags to resources by using the Azure policy effect "append".
Now we want to assign the same tags with the Policy effect "modify".

Can you please suggest to me the best process for how to re-create tags using IaC Terraform? or How to re-create tags using policy? I need suggestions on this tagging process. What's the best approach to do it and how to do it?

Example tags: ApplicationName, Owner, CostCenter,

Hi @gbalajicl, as mentioned in the original discussion, your question seems more related to Terraform, which the CARML initiative didn't cover back in the days.

The good news is that Azure Verified Modules (AVM), i.e. the evolution of the CARML initiative, also covers Terraform DSL, so your question may find a good answer once converted to an AVM GitHub issue 🙂