terraform-modules icon indicating copy to clipboard operation
terraform-modules copied to clipboard

How to tag xkf related resources

Open NissesSenap opened this issue 2 years ago • 1 comments

Today we don't have any support of adding custom tags to the resources we generate. This creates issues for different reasons, mostly due to data collection around resources created in Azure.

How could we add a way of managing tag:s to our resources? Should we support adding different tags to different resources?

Take both Azure and AWS in to account. It's good if we can keep a similar strategy between them, especially since AWS haves a number of Azure resources as well.

NissesSenap avatar Jun 27 '22 11:06 NissesSenap

It's currently not possible to do global tags in Azure. It hopefully will be possible in v4:

https://github.com/hashicorp/terraform-provider-azurerm/issues/13776#issuecomment-1164280160

In AWS this is possible. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/resource-tagging#propagating-tags-to-all-resources

NissesSenap avatar Sep 22 '22 14:09 NissesSenap