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

Comments

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

Open
bobmacks wants to merge 1 commit intocmdlabs:masterfrom
bobmacks:master
Open

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

Conversation

@bobmacks
Copy link

@bobmacks bobmacks commented Nov 6, 2020

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
Copy link

@sobil sobil left a comment

Choose a reason for hiding this comment

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

This would be good.

from_port = 0
to_port = 0
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]
Copy link

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