Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[datadog_logs_custom_destination] Introduce logs custom destination resource #2542

Merged
merged 5 commits into from
Aug 29, 2024

Conversation

Prepager
Copy link
Contributor

@Prepager Prepager commented Aug 28, 2024

Following the release of the Logs Custom Destinations Public API, we want to provide a Terraform resource for it

Example usage

resource "datadog_logs_custom_destination" "http_basic_auth" {
  name                               = "http basic"
  query                              = "source:dummy"
  forward_tags                       = false
  forward_tags_restriction_list      = ["a", "b"]
  forward_tags_restriction_list_type = "ALLOW_LIST"

  http_destination {
    endpoint = "https://example.org"
    basic_auth {
      username = "username"
      password = "password"
    }
  }
}

@Prepager Prepager marked this pull request as ready for review August 29, 2024 10:35
@Prepager Prepager requested review from a team as code owners August 29, 2024 10:35
Copy link

@aliciascott aliciascott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good for docs

@jack-edmonds-dd jack-edmonds-dd merged commit e16acd6 into master Aug 29, 2024
16 of 17 checks passed
@jack-edmonds-dd jack-edmonds-dd deleted the andreas/custom-destinations-provider branch August 29, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants