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.
# Create a new Datadog - Amazon Web Services integration log collection
resource "datadog_integration_aws_log_collection" "main" {
account_id = "1234567890"
services = ["lambda"]
}
account_id
(String) Your AWS Account ID without dashes.services
(List of String) A list of services to collect logs from. See the api docs for more details on which services are supported.id
(String) The ID of this resource.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