datadog_integration_aws_log_collection (Resource)

Provides a Datadog - Amazon Web Services integration log collection resource. This can be used to manage which AWS services logs are collected from for an account.

Example Usage

# Create a new Datadog - Amazon Web Services integration log collection
resource "datadog_integration_aws_log_collection" "main" {
  account_id = "1234567890"
  services   = ["lambda"]
}

Schema

Required

Read-Only

Import

Import is supported using the following syntax:

# Amazon Web Services log collection integrations can be imported using the `account ID`.
terraform import datadog_integration_aws_log_collection.test 1234567890