You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use this Terraform module to install Datadog Serverless Monitoring for AWS Lambda.
5
+
Use this Terraform module to install DataDog Serverless Monitoring for AWS Lambda.
6
6
7
-
This Terraform module wraps the [aws_lambda_function](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function) resource and automatically configures your Lambda function for Datadog Serverless Monitoring by:
7
+
This Terraform module wraps the [aws_lambda_function](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function) resource and automatically configures your Lambda function for DataDog Serverless Monitoring by:
8
8
9
-
* Adding the Datadog Lambda layers
9
+
* Adding the DataDog Lambda layers
10
10
* Redirecting the Lambda handler
11
-
* Enabling the collection of metrics, traces, and logs to Datadog
11
+
* Enabling the collection of metrics, traces, and logs to DataDog
Use the following variables to select the versions of the Datadog Lambda layers to use. If no layer version is specified the latest version will be used.
205
+
Use the following variables to select the versions of the DataDog Lambda layers to use. If no layer version is specified the latest version will be used.
206
206
207
207
| Variable | Description |
208
208
| -------- | ----------- |
209
-
|`datadog_extension_layer_version`| Version of the [Datadog Lambda Extension layer](https://github.com/DataDog/datadog-lambda-extension/releases) to install |
210
-
|`datadog_dotnet_layer_version`| Version of the [Datadog .NET Lambda layer](https://github.com/DataDog/dd-trace-dotnet-aws-lambda-layer/releases) to install |
211
-
|`datadog_java_layer_version`| Version of the [Datadog Java Lambda layer](https://github.com/DataDog/datadog-lambda-java/releases) to install |
212
-
|`datadog_node_layer_version`| Version of the [Datadog Node Lambda layer](https://github.com/DataDog/datadog-lambda-js/releases) to install |
213
-
|`datadog_python_layer_version`| Version of the [Datadog Python Lambda layer](https://github.com/DataDog/datadog-lambda-python/releases) to install |
209
+
|`datadog_extension_layer_version`| Version of the [DataDog Lambda Extension layer](https://github.com/DataDog/datadog-lambda-extension/releases) to install |
210
+
|`datadog_dotnet_layer_version`| Version of the [DataDog .NET Lambda layer](https://github.com/DataDog/dd-trace-dotnet-aws-lambda-layer/releases) to install |
211
+
|`datadog_java_layer_version`| Version of the [DataDog Java Lambda layer](https://github.com/DataDog/datadog-lambda-java/releases) to install |
212
+
|`datadog_node_layer_version`| Version of the [DataDog Node Lambda layer](https://github.com/DataDog/datadog-lambda-js/releases) to install |
213
+
|`datadog_python_layer_version`| Version of the [DataDog Python Lambda layer](https://github.com/DataDog/datadog-lambda-python/releases) to install |
214
214
215
-
#### Selecting the Datadog Site
215
+
#### Selecting the DataDog Site
216
216
217
-
The default Datadog site is `datadoghq.com`. To use a different site set the `DD_SITE` environment variable to the desired destination site. See [Getting Started with Datadog Sites](https://docs.datadoghq.com/getting_started/site/) for the available site values.
217
+
The default DataDog site is `datadoghq.com`. To use a different site set the `DD_SITE` environment variable to the desired destination site. See [Getting Started with DataDog Sites](https://docs.datadoghq.com/getting_started/site/) for the available site values.
218
218
219
219
#### Configuration
220
220
221
-
Use Environment variables to configure Datadog Serverless Monitoring. Refer to the documentation below for environment variables available in the Serverless Agent (packaged in the Extension layer) and in the Tracing libraries (packaged in the runtime layers).
221
+
Use Environment variables to configure DataDog Serverless Monitoring. Refer to the documentation below for environment variables available in the Serverless Agent (packaged in the Extension layer) and in the Tracing libraries (packaged in the runtime layers).
| <aname="input_architectures"></a> [architectures](#input\_architectures)| Instruction set architecture for your Lambda function. Valid values are ["x86\_64"] and ["arm64"]. |`list(string)`| <pre>["x86_64"]</pre> | no |
260
260
| <aname="input_code_signing_config_arn"></a> [code\_signing\_config\_arn](#input\_code\_signing\_config\_arn)| To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function. |`string`|`null`| no |
261
-
| <aname="input_datadog_extension_layer_version"></a> [datadog\_extension\_layer\_version](#input\_datadog\_extension\_layer\_version)| Version for the Datadog Extension Layer |`number`|`74`| no |
262
-
| <aname="input_datadog_dotnet_layer_version"></a> [datadog\_dotnet\_layer\_version](#input\_datadog\_dotnet\_layer\_version)| Version for the Datadog .NET Layer |`number`|`19`| no |
263
-
| <aname="input_datadog_java_layer_version"></a> [datadog\_java\_layer\_version](#input\_datadog\_java\_layer\_version)| Version for the Datadog Java Layer |`number`|`19`| no |
264
-
| <aname="input_datadog_node_layer_version"></a> [datadog\_node\_layer\_version](#input\_datadog\_node\_layer\_version)| Version for the Datadog Node Layer |`number`|`123`| no |
265
-
| <aname="input_datadog_python_layer_version"></a> [datadog\_python\_layer\_version](#input\_datadog\_python\_layer\_version)| Version for the Datadog Python Layer |`number`|`106`| no |
261
+
| <aname="input_datadog_extension_layer_version"></a> [datadog\_extension\_layer\_version](#input\_datadog\_extension\_layer\_version)| Version for the DataDog Extension Layer |`number`|`74`| no |
262
+
| <aname="input_datadog_dotnet_layer_version"></a> [datadog\_dotnet\_layer\_version](#input\_datadog\_dotnet\_layer\_version)| Version for the DataDog .NET Layer |`number`|`19`| no |
263
+
| <aname="input_datadog_java_layer_version"></a> [datadog\_java\_layer\_version](#input\_datadog\_java\_layer\_version)| Version for the DataDog Java Layer |`number`|`19`| no |
264
+
| <aname="input_datadog_node_layer_version"></a> [datadog\_node\_layer\_version](#input\_datadog\_node\_layer\_version)| Version for the DataDog Node Layer |`number`|`123`| no |
265
+
| <aname="input_datadog_python_layer_version"></a> [datadog\_python\_layer\_version](#input\_datadog\_python\_layer\_version)| Version for the DataDog Python Layer |`number`|`106`| no |
266
266
| <aname="input_dead_letter_config_target_arn"></a> [dead\_letter\_config\_target\_arn](#input\_dead\_letter\_config\_target\_arn)| ARN of an SNS topic or SQS queue to notify when an invocation fails. |`string`|`null`| no |
267
267
| <aname="input_description"></a> [description](#input\_description)| Description of what your Lambda Function does. |`string`|`null`| no |
268
268
| <aname="input_environment_variables"></a> [environment\_variables](#input\_environment\_variables)| Map of environment variables that are accessible from the function code during execution. |`map(string)`|`{}`| no |
Copy file name to clipboardExpand all lines: examples/dotnet/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
# .NET Example
2
2
3
-
A simple .NET Lambda function with out of the box Datadog instrumentation.
3
+
A simple .NET Lambda function with out of the box DataDog instrumentation.
4
4
5
5
## Usage
6
6
7
-
* Create a [Datadog API Key](https://app.datadoghq.com/organization-settings/api-keys)
8
-
* Create a secret in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) and add the Datadog API Key as the secret value in plaintext
7
+
* Create a [DataDog API Key](https://app.datadoghq.com/organization-settings/api-keys)
8
+
* Create a secret in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) and add the DataDog API Key as the secret value in plaintext
9
9
* Create a `terraform.tfvars` file
10
10
- Set the `datadog_secret_arn` to the arn of the secret you just created
11
-
- Set the `datadog_service_name` to the name of the service you want to use to filter for the resource in Datadog
12
-
- Set the `datadog_site` to the [Datadog destination site](https://docs.datadoghq.com/getting_started/site/) for your metrics, traces, and logs
11
+
- Set the `datadog_service_name` to the name of the service you want to use to filter for the resource in DataDog
12
+
- Set the `datadog_site` to the [DataDog destination site](https://docs.datadoghq.com/getting_started/site/) for your metrics, traces, and logs
13
13
* Run the following commands
14
14
15
15
```
@@ -57,8 +57,8 @@ If using `arm64` architecture then build the lambda package with the `-farch arm
57
57
58
58
| Name | Description | Type | Default | Required |
| <aname="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn)| Secret for Datadog API Key |`string`| n/a | yes |
61
-
| <aname="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name)| Service used to filter for resources in Datadog|`string`| n/a | yes |
60
+
| <aname="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn)| Secret for DataDog API Key |`string`| n/a | yes |
61
+
| <aname="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name)| Service used to filter for resources in DataDog|`string`| n/a | yes |
62
62
| <aname="input_datadog_site"></a> [datadog\_site](#input\_datadog\_site)| Destination site for your metrics, traces, and logs |`string`| n/a | yes |
Copy file name to clipboardExpand all lines: examples/go/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
# Golang Example
2
2
3
-
A simple Go Lambda function with out of the box Datadog instrumentation.
3
+
A simple Go Lambda function with out of the box DataDog instrumentation.
4
4
5
5
## Usage
6
6
7
-
* Create a [Datadog API Key](https://app.datadoghq.com/organization-settings/api-keys)
8
-
* Create a secret in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) and add the Datadog API Key as the secret value in plaintext
7
+
* Create a [DataDog API Key](https://app.datadoghq.com/organization-settings/api-keys)
8
+
* Create a secret in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) and add the DataDog API Key as the secret value in plaintext
9
9
* Create a `terraform.tfvars` file
10
10
- Set the `datadog_secret_arn` to the arn of the secret you just created
11
-
- Set the `datadog_service_name` to the name of the service you want to use to filter for the resource in Datadog
12
-
- Set the `datadog_site` to the [Datadog destination site](https://docs.datadoghq.com/getting_started/site/) for your metrics, traces, and logs
11
+
- Set the `datadog_service_name` to the name of the service you want to use to filter for the resource in DataDog
12
+
- Set the `datadog_site` to the [DataDog destination site](https://docs.datadoghq.com/getting_started/site/) for your metrics, traces, and logs
13
13
* Run the following commands
14
14
15
15
```
@@ -55,8 +55,8 @@ terraform apply
55
55
56
56
| Name | Description | Type | Default | Required |
| <aname="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn)| Secret for Datadog API Key |`string`| n/a | yes |
59
-
| <aname="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name)| Service used to filter for resources in Datadog|`string`| n/a | yes |
58
+
| <aname="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn)| Secret for DataDog API Key |`string`| n/a | yes |
59
+
| <aname="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name)| Service used to filter for resources in DataDog|`string`| n/a | yes |
60
60
| <aname="input_datadog_site"></a> [datadog\_site](#input\_datadog\_site)| Destination site for your metrics, traces, and logs |`string`| n/a | yes |
Copy file name to clipboardExpand all lines: examples/java/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
# Java Example
2
2
3
-
A simple Java Lambda function with out of the box Datadog instrumentation.
3
+
A simple Java Lambda function with out of the box DataDog instrumentation.
4
4
5
5
## Usage
6
6
7
-
* Create a [Datadog API Key](https://app.datadoghq.com/organization-settings/api-keys)
8
-
* Create a secret in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) and add the Datadog API Key as the secret value in plaintext
7
+
* Create a [DataDog API Key](https://app.datadoghq.com/organization-settings/api-keys)
8
+
* Create a secret in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) and add the DataDog API Key as the secret value in plaintext
9
9
* Create a `terraform.tfvars` file
10
10
- Set the `datadog_secret_arn` to the arn of the secret you just created
11
-
- Set the `datadog_service_name` to the name of the service you want to use to filter for the resource in Datadog
12
-
- Set the `datadog_site` to the [Datadog destination site](https://docs.datadoghq.com/getting_started/site/) for your metrics, traces, and logs
11
+
- Set the `datadog_service_name` to the name of the service you want to use to filter for the resource in DataDog
12
+
- Set the `datadog_site` to the [DataDog destination site](https://docs.datadoghq.com/getting_started/site/) for your metrics, traces, and logs
13
13
* Run the following commands
14
14
15
15
```
@@ -54,8 +54,8 @@ terraform apply
54
54
55
55
| Name | Description | Type | Default | Required |
| <aname="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn)| Secret for Datadog API Key |`string`| n/a | yes |
58
-
| <aname="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name)| Service used to filter for resources in Datadog|`string`| n/a | yes |
57
+
| <aname="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn)| Secret for DataDog API Key |`string`| n/a | yes |
58
+
| <aname="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name)| Service used to filter for resources in DataDog|`string`| n/a | yes |
59
59
| <aname="input_datadog_site"></a> [datadog\_site](#input\_datadog\_site)| Destination site for your metrics, traces, and logs |`string`| n/a | yes |
Copy file name to clipboardExpand all lines: examples/node/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
# Node Example
2
2
3
-
A simple Node Lambda function with out of the box Datadog instrumentation.
3
+
A simple Node Lambda function with out of the box DataDog instrumentation.
4
4
5
5
## Usage
6
6
7
-
* Create a [Datadog API Key](https://app.datadoghq.com/organization-settings/api-keys)
8
-
* Create a secret in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) and add the Datadog API Key as the secret value in plaintext
7
+
* Create a [DataDog API Key](https://app.datadoghq.com/organization-settings/api-keys)
8
+
* Create a secret in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) and add the DataDog API Key as the secret value in plaintext
9
9
* Create a `terraform.tfvars` file
10
10
- Set the `datadog_secret_arn` to the arn of the secret you just created
11
-
- Set the `datadog_service_name` to the name of the service you want to use to filter for the resource in Datadog
12
-
- Set the `datadog_site` to the [Datadog destination site](https://docs.datadoghq.com/getting_started/site/) for your metrics, traces, and logs
11
+
- Set the `datadog_service_name` to the name of the service you want to use to filter for the resource in DataDog
12
+
- Set the `datadog_site` to the [DataDog destination site](https://docs.datadoghq.com/getting_started/site/) for your metrics, traces, and logs
13
13
* Run the following commands
14
14
15
15
```
@@ -53,8 +53,8 @@ terraform apply
53
53
54
54
| Name | Description | Type | Default | Required |
| <aname="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn)| Secret for Datadog API Key |`string`| n/a | yes |
57
-
| <aname="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name)| Service used to filter for resources in Datadog|`string`| n/a | yes |
56
+
| <aname="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn)| Secret for DataDog API Key |`string`| n/a | yes |
57
+
| <aname="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name)| Service used to filter for resources in DataDog|`string`| n/a | yes |
58
58
| <aname="input_datadog_site"></a> [datadog\_site](#input\_datadog\_site)| Destination site for your metrics, traces, and logs |`string`| n/a | yes |
Copy file name to clipboardExpand all lines: examples/python/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
# Python Example
2
2
3
-
A simple Python Lambda function with out of the box Datadog instrumentation.
3
+
A simple Python Lambda function with out of the box DataDog instrumentation.
4
4
5
5
## Usage
6
6
7
-
* Create a [Datadog API Key](https://app.datadoghq.com/organization-settings/api-keys)
8
-
* Create a secret in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) and add the Datadog API Key as the secret value in plaintext
7
+
* Create a [DataDog API Key](https://app.datadoghq.com/organization-settings/api-keys)
8
+
* Create a secret in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) and add the DataDog API Key as the secret value in plaintext
9
9
* Create a `terraform.tfvars` file
10
10
- Set the `datadog_secret_arn` to the arn of the secret you just created
11
-
- Set the `datadog_service_name` to the name of the service you want to use to filter for the resource in Datadog
12
-
- Set the `datadog_site` to the [Datadog destination site](https://docs.datadoghq.com/getting_started/site/) for your metrics, traces, and logs
11
+
- Set the `datadog_service_name` to the name of the service you want to use to filter for the resource in DataDog
12
+
- Set the `datadog_site` to the [DataDog destination site](https://docs.datadoghq.com/getting_started/site/) for your metrics, traces, and logs
13
13
* Run the following commands
14
14
15
15
```
@@ -53,8 +53,8 @@ terraform apply
53
53
54
54
| Name | Description | Type | Default | Required |
| <aname="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn)| Secret for Datadog API Key |`string`| n/a | yes |
57
-
| <aname="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name)| Service used to filter for resources in Datadog|`string`| n/a | yes |
56
+
| <aname="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn)| Secret for DataDog API Key |`string`| n/a | yes |
57
+
| <aname="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name)| Service used to filter for resources in DataDog|`string`| n/a | yes |
58
58
| <aname="input_datadog_site"></a> [datadog\_site](#input\_datadog\_site)| Destination site for your metrics, traces, and logs |`string`| n/a | yes |
0 commit comments