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 7d4fa0d commit bdd6210Copy full SHA for bdd6210
1 file changed
aws/network/modules/vpc-endpoints/s3-vpc-endpoint/main.tf
@@ -2,7 +2,7 @@ data "aws_region" "current" {}
2
3
resource "aws_vpc_endpoint" "s3" {
4
vpc_id = var.vpc.id
5
- service_name = "com.amazonaws.${data.aws_region.current.name}.s3"
+ service_name = "com.amazonaws.${data.aws_region.current.region}.s3"
6
vpc_endpoint_type = "Gateway"
7
8
route_table_ids = var.route_table_ids
0 commit comments