Skip to content

Create routes for additional CIDRs

Compare
Choose a tag to compare
@grem11n grem11n released this 17 Jan 09:27
· 8 commits to master since this release
abb29df

Now, this module creates routes for additional CIDRs associated with VPCs as well, which fixed #94.

API Changes

This release exposes two new user variables:

  • from_this_associated to create routes for additional CIDRs from this VPC
  • from_peer_associated to create routes for additional CIDRs from peer VPC

Considerations

The module still relies on additional variables to create routes for associated CIDRs. However, based on hashicorp/terraform#28962 (comment) I assume it's impossible to calculate routes for associated CIDRs unless VPC configuration already exists. This means that depends_on directive probably won't work with additional VPC CIDRs, if you want to create the whole infrastructure in one swing. Yet, I haven't tested that scenario.

Code Changes

  • Create routes for associated VPC CIDRs by @grem11n in #97
  • Update Terraform version to the current latest in tests by @grem11n in #99

Full Changelog: v5.0.0...v5.1.0