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
| <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
287
| <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 |
288
+
| <aname="input_datadog_extension_layer_version"></a> [datadog\_extension\_layer\_version](#input\_datadog\_extension\_layer\_version)| Version for the Datadog Extension Layer |`number`|`90`| no |
289
+
| <aname="input_datadog_dotnet_layer_version"></a> [datadog\_dotnet\_layer\_version](#input\_datadog\_dotnet\_layer\_version)| Version for the Datadog .NET Layer |`number`|`23`| no |
290
+
| <aname="input_datadog_java_layer_version"></a> [datadog\_java\_layer\_version](#input\_datadog\_java\_layer\_version)| Version for the Datadog Java Layer |`number`|`24`| no |
291
+
| <aname="input_datadog_node_layer_version"></a> [datadog\_node\_layer\_version](#input\_datadog\_node\_layer\_version)| Version for the Datadog Node Layer |`number`|`132`| no |
292
+
| <aname="input_datadog_python_layer_version"></a> [datadog\_python\_layer\_version](#input\_datadog\_python\_layer\_version)| Version for the Datadog Python Layer |`number`|`120`| no |
293
+
| <aname="input_datadog_ruby_layer_version"></a> [datadog\_ruby\_layer\_version](#input\_datadog\_ruby\_layer\_version)| Version for the Datadog Ruby Layer |`number`|`27`| no |
266
294
| <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
295
| <aname="input_description"></a> [description](#input\_description)| Description of what your Lambda Function does. |`string`|`null`| no |
268
296
| <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 |
A simple Ruby Lambda function with out of the box Datadog instrumentation.
4
+
5
+
## Usage
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
9
+
* Create a `terraform.tfvars` file
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
| <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
+
| <aname="input_datadog_site"></a> [datadog\_site](#input\_datadog\_site)| Destination site for your metrics, traces, and logs |`string`| n/a | yes |
59
+
60
+
## Outputs
61
+
62
+
| Name | Description |
63
+
|------|-------------|
64
+
| <aname="output_arn"></a> [arn](#output\_arn)| Amazon Resource Name (ARN) identifying your Lambda Function. |
65
+
| <aname="output_function_name"></a> [function\_name](#output\_function\_name)| Unique name for your Lambda Function |
66
+
| <aname="output_invoke_arn"></a> [invoke\_arn](#output\_invoke\_arn)| ARN to be used for invoking Lambda Function from API Gateway. |
0 commit comments