DataDog / terraform-provider-datadog

Terraform Datadog provider
https://www.terraform.io/docs/providers/datadog/
Mozilla Public License 2.0
399 stars 375 forks source link

Generalize `default_tags` to most resources that support tags #2506

Open Amaury-Behague opened 2 months ago

Amaury-Behague commented 2 months ago

This PR is the last step for this feature request: https://github.com/DataDog/terraform-provider-datadog/issues/1478

When default_tags is set at the provider level, resources that do not otherwise define those tags (by key) will inherit them automatically during plan. If the same tag (e.g. "foo:bar", "foo:not_bar") is defined at provider level and at resource level, the resource tag is used.

Summary of changes (1 commit each):

Currently unsupported resources - all resources that don't set tags plus: