Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Allow VPC Endpoints to be Created via vpc-endpoints Submodule #82

Merged
merged 40 commits into from
Apr 30, 2021

Conversation

korenyoni
Copy link
Member

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 the terraform-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 of us-west-1, as going forward CloudPosse repositories will be using us-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

Copy link

@bridgecrew bridgecrew bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bridgecrew has found 1 infrastructure configuration error in this PR ⬇️

examples/vpc-endpoints/main.tf Show resolved Hide resolved
@korenyoni korenyoni marked this pull request as ready for review April 27, 2021 00:55
@korenyoni korenyoni requested review from a team as code owners April 27, 2021 00:55
@korenyoni korenyoni requested review from dotCipher and woz5999 and removed request for a team April 27, 2021 00:55
@korenyoni
Copy link
Member Author

/test all

@korenyoni
Copy link
Member Author

/test all

@korenyoni
Copy link
Member Author

/test all

@korenyoni
Copy link
Member Author

/test all

@korenyoni korenyoni force-pushed the feat/vpc-endpoints branch from 91236a3 to bd8ec36 Compare April 27, 2021 05:10
@korenyoni
Copy link
Member Author

/rebuild-readme

aknysh
aknysh previously requested changes Apr 29, 2021
Copy link
Member

@aknysh aknysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@korenyoni
LGTM, a few more comment.
Alps please terraform fmt of all code, examples, and the code in README

@mergify mergify bot dismissed aknysh’s stale review April 30, 2021 14:21

This Pull Request has been updated, so we're dismissing all reviews.

@korenyoni
Copy link
Member Author

/test all

@korenyoni korenyoni requested a review from aknysh April 30, 2021 14:44
Copy link
Member

@aknysh aknysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please see comments

…gateway/interface VPC endpoints with the endpoint-service name passed as an attribute.
@korenyoni korenyoni requested a review from aknysh April 30, 2021 19:34
@aknysh
Copy link
Member

aknysh commented Apr 30, 2021

/test all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants