Reputation: 11
It seems nice and easy to enable the tag inheritance preview feature in the Azure portal. See here https://learn.microsoft.com/en-us/azure/cost-management-billing/costs/enable-tag-inheritance, But I'd like to do this using Terraform.
I think the Azure/azapi provider is the key to using Azure preview features. See here https://registry.terraform.io/providers/Azure/azapi/latest/docs however, I'm stuck trying to workout out to use it to enable the feature on my subscription.
I'm hoping simply enabling this preview future will mean we can avoid setting up a set of tag policies.
We've added the provider to our terraform but are unsure how to use it to enable the tag inheritance preview feature. I've been looking through the rest API, but currently have not found anything https://learn.microsoft.com/en-us/rest/api/azure/. and i not find any clues when web searching.
Any help or pointers is appreciated
Upvotes: 0
Views: 855