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

[provider] Add a default_tags attribute in the Datadog provider config. #2486

Closed Amaury-Behague closed 1 month ago

Amaury-Behague commented 2 months ago

This PR is a first step towards answering this feature request: https://github.com/DataDog/terraform-provider-datadog/issues/1478

For the moment this config option is experimental and only applies to Datadog monitors. 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.

Amaury-Behague commented 2 months ago

/merge

dd-devflow[bot] commented 2 months ago

:steam_locomotive: MergeQueue: waiting for PR to be ready

This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals. Note: if you pushed new commits since the last approval, you may need additional approval. You can remove it from the waiting list with /remove command.

Use /merge -c to cancel this operation!

dd-devflow[bot] commented 2 months ago

:warning: MergeQueue: This merge request was unqueued

This merge request was unqueued

If you need support, contact us on Slack #devflow!

skarimo commented 1 month ago

/merge

dd-devflow[bot] commented 1 month ago

:steam_locomotive: MergeQueue: pull request added to the queue

The median merge time in master is 0s.

Use /merge -c to cancel this operation!