datadog_integration_aws_lambda_arn (Resource)

Provides a Datadog - Amazon Web Services integration Lambda ARN resource. This can be used to create and manage the log collection Lambdas for an account.

Update operations are currently not supported with datadog API so any change forces a new resource.

Example Usage

# Create a new Datadog - Amazon Web Services integration Lambda ARN
resource "datadog_integration_aws_lambda_arn" "main_collector" {
  account_id = "1234567890"
  lambda_arn = "arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder"
}

Schema

Required

Read-Only

Import

Import is supported using the following syntax:

# Amazon Web Services Lambda ARN integrations can be imported using their account_id and lambda_arn separated with a space (` `).
terraform import datadog_integration_aws_lambda_arn.test "1234567890 arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder"