datadog-lambda-forwarder

cloudposse/datadog-lambda-forwarder/aws

Terraform Module HCL AWS

Terraform module to provision all the necessary infrastructure to deploy Datadog Lambda forwarders

Install
module "datadog-lambda-forwarder" {
source = "cloudposse/datadog-lambda-forwarder/aws"
version = "1.10.0"
}
⭐ Source on GitHub 📦 Registry page
README

Terraform module to provision all the necessary infrastructure to deploy Datadog Lambda forwarders Sponsorship This project is supported by the Datadog Open Source Program. As part of this collaboration, Datadog provides a dedicated sandbox account that we use for automated integration and acceptance testing. This contribution allows us to continuously validate changes against a real Datadog environment, improving reliability and reducing the risk of regressions. We are grateful to Datadog for supporting our open source ecosystem and helping ensure that infrastructure code for Terraform remains stable and well-tested ___ > [!TIP] > #### 👽 Use Atmos with Terraform > Cloud Posse uses atmos to easily orchestrate multiple environments using Terraform. > Works with Github Actions, Atlantis, or

Inputs (50)
NameTypeDescriptionDefault
tagsmap(string)Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t{}
regex_replace_charsstringTerraform regular expression (regex) string. Characters matching the regex will null
lambda_runtimestringRuntime environment for Datadog Lambda"python3.11"
dd_artifact_filenamestringThe Datadog artifact filename minus extension"aws-dd-forwarder"
forwarder_rds_artifact_urlstringThe URL for the code of the Datadog forwarder for RDS. It can be a local file, unull
rds_permissions_boundarystringARN of the policy that is used to set the permissions boundary for the lambda-rdnull
label_key_casestringControls the letter case of the `tags` keys (label names) for tags generated by null
delimiterstringDelimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` null
descriptor_formatsanyDescribe additional descriptors to be output in the `descriptors` output map. Ma{}
forwarder_rds_filter_patternstringFilter pattern for Lambda forwarder RDS""
namespacestringID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp'null
tenantstringID element _(Rarely used, not included by default)_. A customer identifier, indinull
id_length_limitnumberLimit `id` to this many characters (minimum 6). Set to `0` for unlimited length.null
lambda_memory_sizenumberAmount of memory in MB your Lambda Function can use at runtime128
lambda_reserved_concurrent_executionsnumberAmount of reserved concurrent executions for the lambda function. A value of 0 d-1
dd_module_namestringThe Datadog GitHub repository name"datadog-serverless-functions"
lambda_timeoutnumberAmount of time your Datadog Lambda Function has to run in seconds120
forwarder_log_enabledboolFlag to enable or disable Datadog log forwarderfalse
s3_buckets_with_prefixesmap(object({ bucket_name : strThe names S3 buckets and prefix to forward logs to Datadog{}
lambda_custom_policy_namestringAdditional IAM policy document that can optionally be passed and merged with the"DatadogForwarderCustomPolicy"
… and 10 more inputs
Outputs (6)
lambda_forwarder_rds_function_arn — Datadog Lambda forwarder RDS Enhanced Monitoring function ARN
lambda_forwarder_rds_enhanced_monitoring_function_name — Datadog Lambda forwarder RDS Enhanced Monitoring function name
lambda_forwarder_log_function_arn — Datadog Lambda forwarder CloudWatch/S3 function ARN
lambda_forwarder_log_function_name — Datadog Lambda forwarder CloudWatch/S3 function name
lambda_forwarder_vpc_log_function_arn — Datadog Lambda forwarder VPC Flow Logs function ARN
lambda_forwarder_vpc_log_function_name — Datadog Lambda forwarder VPC Flow Logs function name
Resources (8)
aws_cloudwatch_log_groupaws_cloudwatch_log_subscription_filteraws_iam_policyaws_iam_roleaws_iam_role_policy_attachmentaws_lambda_functionaws_lambda_permissionaws_s3_bucket_notification
Details
FrameworkTerraform Module
LanguageHCL
Version1.10.0
Cloud AWS
★ Stars20
Forks23
Total downloads483.1k
Inputs50
Outputs6
Resources8
Examples1
LicenseApache-2.0
Namespacecloudposse
Updated