Skip to content

Commit c715a69

Browse files
committed
fix: Fixed deprecation attribute warning with AWS provider v6
1 parent 7c1f791 commit c715a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpc-flow-logs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ locals {
2525
flow_log_cloudwatch_log_group_name_suffix = var.flow_log_cloudwatch_log_group_name_suffix == "" ? local.vpc_id : var.flow_log_cloudwatch_log_group_name_suffix
2626
flow_log_group_arns = [
2727
for log_group in aws_cloudwatch_log_group.flow_log :
28-
"arn:${data.aws_partition.current[0].partition}:logs:${data.aws_region.current[0].name}:${data.aws_caller_identity.current[0].account_id}:log-group:${log_group.name}:*"
28+
"arn:${data.aws_partition.current[0].partition}:logs:${data.aws_region.current[0].region}:${data.aws_caller_identity.current[0].account_id}:log-group:${log_group.name}:*"
2929
]
3030
}
3131

0 commit comments

Comments
 (0)