Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

EndpointSG should only be created when VPC endpoints are defined#1

Open
bobmacks wants to merge 1 commit into
cmdlabs:masterfrom
bobmacks:master
Open

EndpointSG should only be created when VPC endpoints are defined#1
bobmacks wants to merge 1 commit into
cmdlabs:masterfrom
bobmacks:master

Conversation

@bobmacks

@bobmacks bobmacks commented Nov 6, 2020

Copy link
Copy Markdown

EndpointSG should only be created if VPC endpoints are in-use.
Set SGs to only be created if var.vpc_endpoint is not an empty list

@bobmacks bobmacks changed the title EndpointSG should only be created VPC endpoints are in-use EndpointSG should only be created when VPC endpoints are defined Nov 6, 2020

@sobil sobil left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This would be good.

Comment thread vpc-endpoints.tf
from_port = 0
to_port = 0
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

can we sneak this fix in too?

Suggested change
cidr_blocks = ["0.0.0.0/0"]
cidr_blocks = [var.vpc_cidr_block]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants