Skip to content

Commit bdd6210

Browse files
author
Benjamin Valiente (Contractor)
committed
fix: updating deprecated region attribute
1 parent 7d4fa0d commit bdd6210

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • aws/network/modules/vpc-endpoints/s3-vpc-endpoint

aws/network/modules/vpc-endpoints/s3-vpc-endpoint/main.tf

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

33
resource "aws_vpc_endpoint" "s3" {
44
vpc_id = var.vpc.id
5-
service_name = "com.amazonaws.${data.aws_region.current.name}.s3"
5+
service_name = "com.amazonaws.${data.aws_region.current.region}.s3"
66
vpc_endpoint_type = "Gateway"
77

88
route_table_ids = var.route_table_ids

0 commit comments

Comments
 (0)