We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b2ea25 commit a1f6c78Copy full SHA for a1f6c78
main.tf
@@ -63,7 +63,7 @@ locals {
63
datadog_lambda_layer_version = lookup(local.runtime_base_layer_version_map, local.runtime_base, "")
64
65
datadog_account_id = (data.aws_partition.current.partition == "aws-us-gov") ? "002406178527" : "464622532012"
66
- datadog_layer_name_base = "arn:${data.aws_partition.current.partition}:lambda:${data.aws_region.current.region}:${local.datadog_account_id}:layer"
+ datadog_layer_name_base = "arn:${data.aws_partition.current.partition}:lambda:${data.aws_region.current.name}:${local.datadog_account_id}:layer"
67
datadog_layer_suffix = lookup(local.architecture_layer_suffix_map, var.architectures[0])
68
69
environment_variables = {
0 commit comments