UPD: deploy vpc endpoints by default

This commit is contained in:
KF 2022-09-22 00:46:56 +08:00
parent 0b697c6af8
commit 9c0af27bdb
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86

View File

@ -159,3 +159,14 @@ resource "aws_default_security_group" default-sg {
}, },
) )
} }
# Enable gateway endpoints which are free
module vpc-ep {
source = "../vpc-endpoints"
default-tags = var.default-tags
gateway-ep-services = ["s3","dynamodb"]
interface-ep-services = []
resource-prefix = local.resource-prefix
vpc-id = aws_vpc.vpc.id
}