Skip to content

Commit a99e6c6

Browse files
Test change
1 parent dc7fde7 commit a99e6c6

File tree

7 files changed

+60
-60
lines changed

7 files changed

+60
-60
lines changed

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# Datadog Terraform module for AWS Lambda
1+
# DataDog Terraform module for AWS Lambda
22

33
[![License](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/DataDog/terraform-aws-lambda-datadog/blob/main/LICENSE)
44

5-
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.
66

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:
88

9-
* Adding the Datadog Lambda layers
9+
* Adding the DataDog Lambda layers
1010
* 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
1212

1313
## Usage
1414

@@ -178,7 +178,7 @@ resource "aws_lambda_function" "example_lambda_function" {
178178
}
179179
```
180180

181-
#### Datadog Terraform module for AWS Lambda
181+
#### DataDog Terraform module for AWS Lambda
182182
```
183183
module "lambda-datadog" {
184184
source = "DataDog/lambda-datadog/aws"
@@ -198,27 +198,27 @@ module "lambda-datadog" {
198198
}
199199
```
200200

201-
### Datadog
201+
### DataDog
202202

203203
#### Selecting the layer versions
204204

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.
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.
206206

207207
| Variable | Description |
208208
| -------- | ----------- |
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 |
214214

215-
#### Selecting the Datadog Site
215+
#### Selecting the DataDog Site
216216

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.
218218

219219
#### Configuration
220220

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).
222222

223223
* [Serverless Agent Configuration](https://docs.datadoghq.com/serverless/guide/agent_configuration/)
224224
* Tracer Configuration
@@ -258,11 +258,11 @@ No modules.
258258
|------|-------------|----------------|---------|:--------:|
259259
| <a name="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 |
260260
| <a name="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-
| <a name="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-
| <a name="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-
| <a name="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-
| <a name="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-
| <a name="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+
| <a name="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+
| <a name="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+
| <a name="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+
| <a name="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+
| <a name="input_datadog_python_layer_version"></a> [datadog\_python\_layer\_version](#input\_datadog\_python\_layer\_version) | Version for the DataDog Python Layer | `number` | `106` | no |
266266
| <a name="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 |
267267
| <a name="input_description"></a> [description](#input\_description) | Description of what your Lambda Function does. | `string` | `null` | no |
268268
| <a name="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 |

examples/dotnet/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# .NET Example
22

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.
44

55
## Usage
66

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
99
* Create a `terraform.tfvars` file
1010
- 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
1313
* Run the following commands
1414

1515
```
@@ -57,8 +57,8 @@ If using `arm64` architecture then build the lambda package with the `-farch arm
5757

5858
| Name | Description | Type | Default | Required |
5959
|------|-------------|------|---------|:--------:|
60-
| <a name="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn) | Secret for Datadog API Key | `string` | n/a | yes |
61-
| <a name="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+
| <a name="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn) | Secret for DataDog API Key | `string` | n/a | yes |
61+
| <a name="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name) | Service used to filter for resources in DataDog | `string` | n/a | yes |
6262
| <a name="input_datadog_site"></a> [datadog\_site](#input\_datadog\_site) | Destination site for your metrics, traces, and logs | `string` | n/a | yes |
6363

6464
## Outputs

examples/go/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Golang Example
22

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.
44

55
## Usage
66

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
99
* Create a `terraform.tfvars` file
1010
- 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
1313
* Run the following commands
1414

1515
```
@@ -55,8 +55,8 @@ terraform apply
5555

5656
| Name | Description | Type | Default | Required |
5757
|------|-------------|------|---------|:--------:|
58-
| <a name="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn) | Secret for Datadog API Key | `string` | n/a | yes |
59-
| <a name="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+
| <a name="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn) | Secret for DataDog API Key | `string` | n/a | yes |
59+
| <a name="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name) | Service used to filter for resources in DataDog | `string` | n/a | yes |
6060
| <a name="input_datadog_site"></a> [datadog\_site](#input\_datadog\_site) | Destination site for your metrics, traces, and logs | `string` | n/a | yes |
6161

6262
## Outputs

examples/java/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Java Example
22

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.
44

55
## Usage
66

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
99
* Create a `terraform.tfvars` file
1010
- 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
1313
* Run the following commands
1414

1515
```
@@ -54,8 +54,8 @@ terraform apply
5454

5555
| Name | Description | Type | Default | Required |
5656
|------|-------------|------|---------|:--------:|
57-
| <a name="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn) | Secret for Datadog API Key | `string` | n/a | yes |
58-
| <a name="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+
| <a name="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn) | Secret for DataDog API Key | `string` | n/a | yes |
58+
| <a name="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name) | Service used to filter for resources in DataDog | `string` | n/a | yes |
5959
| <a name="input_datadog_site"></a> [datadog\_site](#input\_datadog\_site) | Destination site for your metrics, traces, and logs | `string` | n/a | yes |
6060

6161
## Outputs

examples/node/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Node Example
22

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.
44

55
## Usage
66

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
99
* Create a `terraform.tfvars` file
1010
- 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
1313
* Run the following commands
1414

1515
```
@@ -53,8 +53,8 @@ terraform apply
5353

5454
| Name | Description | Type | Default | Required |
5555
|------|-------------|------|---------|:--------:|
56-
| <a name="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn) | Secret for Datadog API Key | `string` | n/a | yes |
57-
| <a name="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+
| <a name="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn) | Secret for DataDog API Key | `string` | n/a | yes |
57+
| <a name="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name) | Service used to filter for resources in DataDog | `string` | n/a | yes |
5858
| <a name="input_datadog_site"></a> [datadog\_site](#input\_datadog\_site) | Destination site for your metrics, traces, and logs | `string` | n/a | yes |
5959

6060
## Outputs

examples/python/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Python Example
22

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.
44

55
## Usage
66

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
99
* Create a `terraform.tfvars` file
1010
- 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
1313
* Run the following commands
1414

1515
```
@@ -53,8 +53,8 @@ terraform apply
5353

5454
| Name | Description | Type | Default | Required |
5555
|------|-------------|------|---------|:--------:|
56-
| <a name="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn) | Secret for Datadog API Key | `string` | n/a | yes |
57-
| <a name="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+
| <a name="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn) | Secret for DataDog API Key | `string` | n/a | yes |
57+
| <a name="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name) | Service used to filter for resources in DataDog | `string` | n/a | yes |
5858
| <a name="input_datadog_site"></a> [datadog\_site](#input\_datadog\_site) | Destination site for your metrics, traces, and logs | `string` | n/a | yes |
5959

6060
## Outputs

0 commit comments

Comments
 (0)