Skip to content

Commit e908cba

Browse files
committed
README edits
1 parent 0d7324b commit e908cba

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Use this Terraform module to install Datadog Monitoring for AWS Elastic Container Service tasks.
66

7-
This Terraform module wraps the [aws_ecs_task_definition](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function) resource and automatically configures your task definition for Datadog Monitoring by:
7+
This Terraform module wraps the [aws_ecs_task_definition](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_task_definition) resource and automatically configures your task definition for Datadog Monitoring by:
88

99
* Adding the Datadog Agent container
1010
* Optionally, the Fluentbit log router
@@ -28,7 +28,7 @@ module "ecs_task" {
2828
]
2929
3030
# Task Configuration
31-
name = "example-app"
31+
family = "example-app"
3232
container_definitions = {
3333
dogstatsd-app = {
3434
name = "datadog-dogstatsd-app",

examples/ecs_fargate/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module "ecs_task" {
77

88
# Configure Datadog
99
dd_api_key = var.dd_api_key
10+
dd_api_key_secret_arn = var.dd_api_key_secret_arn
1011
dd_site = var.dd_site
1112
dd_service = var.dd_service
1213

@@ -18,7 +19,7 @@ module "ecs_task" {
1819
]
1920

2021
# Configure Task Definition
21-
family = "my-app"
22+
family = "datadog-terraform-app"
2223
container_definitions = {
2324
dogstatsd = {
2425
name = "datadog-dogstatsd-app",

examples/ecs_fargate/variables.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
variable "dd_api_key" {
22
description = "Datadog API Key"
33
type = string
4+
default = null
5+
}
6+
7+
variable "dd_api_key_secret_arn" {
8+
description = "Datadog API Key Secret ARN"
9+
type = string
10+
default = null
411
}
512

613
variable "dd_service" {

smoke_tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ that we support, making sure that our parameters are sensible and work.
88
* Create a [Datadog API Key](https://app.datadoghq.com/organization-settings/api-keys)
99
* Create a `terraform.tfvars` file
1010
* Set the `dd_api_key` to the Datadog API Key
11-
* Set the `dd_service_name` to the name of the service you want to use to filter for the resource in Datadog
11+
* Set the `dd_service` to the name of the service you want to use to filter for the resource in Datadog
1212
* Set the `dd_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

0 commit comments

Comments
 (0)