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
Copy file name to clipboardExpand all lines: README.md
+15-16Lines changed: 15 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,11 @@ For complete usage examples demonstrating different configuration scenarios, see
45
45
-`dd_api_key_secret_arn` - ARN of existing Secrets Manager secret containing the API key
46
46
-`dd_api_key_ssm_parameter_name` - Name of SSM Parameter containing the API key
47
47
48
+
### AWS Configuration
49
+
| Name | Description | Type | Default |
50
+
|------|-------------|------|---------|
51
+
| region | AWS region to deploy the Datadog Forwarder to. If empty, the forwarder will be deployed to the region set by the provider. |`string`|`null`|
52
+
48
53
### Lambda Configuration
49
54
50
55
| Name | Description | Type | Default |
@@ -201,30 +206,27 @@ When deploying the forwarder across multiple AWS regions, you have two options:
201
206
The simplest approach is to let the module create all resources in each region:
202
207
203
208
```hcl
209
+
provider "aws" {
210
+
region = "us-east-1"
211
+
}
212
+
204
213
# us-east-1 deployment
205
214
module "datadog_forwarder_us_east_1" {
206
215
source = "path/to/this/module"
207
216
208
217
function_name = "DatadogForwarder"
209
218
dd_api_key = var.datadog_api_key
210
219
dd_site = "datadoghq.com"
211
-
212
-
providers = {
213
-
aws = aws.us_east_1
214
-
}
215
220
}
216
221
217
222
# us-west-2 deployment
218
223
module "datadog_forwarder_us_west_2" {
219
224
source = "path/to/this/module"
225
+
region = "us-west-2"
220
226
221
227
function_name = "DatadogForwarder"
222
228
dd_api_key = var.datadog_api_key
223
229
dd_site = "datadoghq.com"
224
-
225
-
providers = {
226
-
aws = aws.us_west_2
227
-
}
228
230
}
229
231
```
230
232
@@ -235,30 +237,27 @@ The module automatically includes the region in IAM resource names to prevent gl
235
237
For advanced use cases where you want to manage IAM roles centrally, you must provide **all** external resources to avoid cross-region conflicts:
0 commit comments