terraform-ibm-modules/terraform-ibm-vpe-gateway

provide a way to create reserved ip independently from vpe creation

Closed this issue · 1 comments

Description

Use case: ensure that consumer has got control on reserved ip. This is used full in the scenario where a consumer want to have the same ip for a given vpe type across vpcs.

Suggested approach is to:

  1. add an optional input variable to the vpe module that takes a list of reserved ips - eg: reserved_ips
  2. extract out the existing logic that reserve ips as a submodule
  3. refactor root module to use the new submodule to reserve ips when there is not reserved ips passed in the optional input variable