Feature: Allow VPC Endpoints to be Created via vpc-endpoints Submodule @korenyoni (#82)
what
- Add
vpc-endpoints
submodule to this repo, which allows users to provision Interface and/or Gateway VPC Endpoints to the VPC they have created with theterraform-aws-vpc
module. - Add Terratest tests for testing the
vpc-endpoints
submodule - Update automated testing via Terratest in this repo to use
us-east-2
region instead ofus-west-1
, as going forward CloudPosse repositories will be usingus-east-2
why
- Currently, there is no option within the VPC module to enable any VPC Endpoints. A simple switch for each type of endpoint is not possible, because there are dozens of possible endpoints —particularly Interface Endpoints— that can be created. Furthermore, VPC Endpoints may depend on resources that are themselves dependant on the
terraform-aws-vpc
module (i.e. subnet IDs), so an external module is required, but a standalone module is not necessarily justified.
references
- It's useful to read the AWS Documentation to make a distinction between Interface VPC Endpoints and Gateway VPC Endpoints