Skip to content

Add/vpc peering connection id optional variable - #5

Open
alonalmog82 wants to merge 3 commits into
BorisLabs:masterfrom
alonalmog82:add/vpc_peering_connection_id-optional_variable
Open

Add/vpc peering connection id optional variable#5
alonalmog82 wants to merge 3 commits into
BorisLabs:masterfrom
alonalmog82:add/vpc_peering_connection_id-optional_variable

Conversation

@alonalmog82

Copy link
Copy Markdown

Added ability to pass the "vpc_peering_connection_id" variable into the route creation.
This argument is useful when creating routes to subnets that are on a peered remote VPC.

This argument is exclusive with the "transit gateway id" argument in the aws_route resource, so I added logic to evaluate the existance of the peering connection ID variable, and make the transit gateway "null" only when this argument is passed.

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.

1 participant