0

I have a query on azure resource tagging. I have a resource group with some resources inside it. If I apply a tag on the resource group, does the same tag get applied to the resources inside that resource group? Or do I need to apply tag on each resources inside the resource group individually even though the tag needed is same?

If tag on resource group get applied automatically to the resources inside the group, then when the tag on the resource group should be applied i.e. whether before the resources are assigned to the group or after the resources are applied to the group.

Though I could not find any similar question but yet if any is there then please point me to the same.

4c74356b41
  • 69,186
  • 6
  • 100
  • 141
  • The answer is no, do you want all resources in a resource group use the same tag? If is, you could refer to this [link](https://learn.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-policy-tags) – Shui shengbao Feb 24 '17 at 08:29

2 Answers2

2

I'm pretty sure you could find this out in under 5 minutes in the portal, but since you asked - no, tags do not propagate.

4c74356b41
  • 69,186
  • 6
  • 100
  • 141
  • To apply resource group tag to its resources you could write a script to check for new untagged resources and tag them accordingly. Then you could schedule such script in Azure Automation. – Tomasz Tuczapski Feb 24 '17 at 08:29
1

In general answer is No but you can specify policy to do so. This is azure documentation link explaining it in detail.

Vipin
  • 4,851
  • 3
  • 35
  • 65