Skip to content

Commit 2e6cb02

Browse files
authored
[SVLS-7571] update aws provider version and fix deprecation warning (#51)
1 parent cdb8e3c commit 2e6cb02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ locals {
6363
datadog_lambda_layer_version = lookup(local.runtime_base_layer_version_map, local.runtime_base, "")
6464

6565
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.name}:${local.datadog_account_id}:layer"
66+
datadog_layer_name_base = "arn:${data.aws_partition.current.partition}:lambda:${data.aws_region.current.region}:${local.datadog_account_id}:layer"
6767
datadog_layer_suffix = lookup(local.architecture_layer_suffix_map, var.architectures[0])
6868

6969
environment_variables = {

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.77.0"
7+
version = ">= 6.0.0"
88
}
99
}
1010
}

0 commit comments

Comments
 (0)