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):
Add default_tags support for security_monitoring_rule.
Add default_tags support for sensitive_data_scanner_rule.
Add default_tags support to service_level_objective.
Add default_tags support for synthetics_test.
Add default_tags support for synthetics_global_variable.
Update default_tags documentation to reflect all compatible resources.
Currently unsupported resources - all resources that don't set tags plus:
dashboard (don't support arbitrary tags)
powerpack (tags are only used for searching)
synthetics_private_location (low priority, could be added later)
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: