20 lines
675 B
Markdown
20 lines
675 B
Markdown
# terraform-aws-vpc_endpoints
|
|
Module to enable and configure VPC endpoints
|
|
|
|
|
|
Module Usage
|
|
|
|
```
|
|
module "vpc_endpoints" {
|
|
count = var.enable_s3_endpoint ? 1 : 0
|
|
#source = "git@github.com:webuildyourcloud/terraform-aws-vpc_endpoints.git?ref=tags/0.18.1"
|
|
source = "git@github.com:webuildyourcloud/terraform-aws-vpc_endpoints.git"
|
|
region = var.region
|
|
name = var.name
|
|
vpc_id = module.vpc.vpc_id
|
|
private_route_table_id = module.subnets.private_route_table_ids
|
|
public_route_table_id = module.subnets.public_route_table_ids
|
|
tags = local.tags
|
|
}
|
|
```
|