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

use cidr_block_associations to add additional cidr_blocks to the routes #6

Merged
merged 2 commits into from
Oct 6, 2018
Merged

Conversation

phanama
Copy link

@phanama phanama commented Oct 3, 2018

what

AWS provided the ability to extend VPCs with secondary CIDRs
https://aws.amazon.com/about-aws/whats-new/2017/08/amazon-virtual-private-cloud-vpc-now-allows-customers-to-expand-their-existing-vpcs/

why

This pull request enables users to add all the CIDRs (primary and secondaries) to the created route tables.
https://www.terraform.io/docs/providers/aws/d/vpc.html#cidr_block-1

@osterman osterman requested a review from aknysh October 3, 2018 16:26
@osterman osterman added the enhancement New feature or request label Oct 3, 2018
@osterman
Copy link
Member

osterman commented Oct 3, 2018

thanks @yudiandreanp ! we'll take a look. btw, have you seen our slack team? join us here! https://slack.cloudposse.com/

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.

@yudiandreanp
thanks for the PR!
was it tested on AWS?
also, please run terraform fmt since our Travis build is failing
https://travis-ci.org/cloudposse/terraform-aws-vpc-peering/builds/436508579?utm_source=github_status&utm_medium=notification

@phanama
Copy link
Author

phanama commented Oct 6, 2018

@aknysh
Yep, we already used it on AWS.
Turns out that the last newline is needed in the .tf file.
Should be okay now!

@aknysh aknysh merged commit 8997e06 into cloudposse:master Oct 6, 2018
@aknysh
Copy link
Member

aknysh commented Oct 6, 2018

thanks @yudiandreanp

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

Successfully merging this pull request may close these issues.

3 participants