Skip to content

Commit 671a9fd

Browse files
committed
resolve deprecation warning
1 parent cb949f9 commit 671a9fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ data "aws_region" "current" {}
1111

1212
locals {
1313
account = data.aws_caller_identity.current.account_id
14-
region = data.aws_region.current.name
14+
region = data.aws_region.current.region
1515

1616
api_body = jsonencode(yamldecode(templatefile("${path.module}/openapi.yml", {
1717
description = "${var.name} REST API"

0 commit comments

Comments
 (0)