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.
# 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"
}
account_id
(String) Your AWS Account ID without dashes.lambda_arn
(String) The ARN of the Datadog forwarder Lambda.id
(String) The ID of this resource.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"