From c439a66b27c8f44aea68b059ce2b98968ab7080c Mon Sep 17 00:00:00 2001 From: Ludovico Magnocavallo Date: Mon, 5 Jun 2023 09:40:34 +0200 Subject: [PATCH] Add notice to net-ilb module on routes (#1415) * add support for routes * boilerplate * revert and add notice to README * revert * revert * Fix README --------- Co-authored-by: Julio Castillo --- modules/net-ilb/README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/modules/net-ilb/README.md b/modules/net-ilb/README.md index 14c286c2..38b7617f 100644 --- a/modules/net-ilb/README.md +++ b/modules/net-ilb/README.md @@ -4,15 +4,19 @@ This module allows managing a GCE Internal Load Balancer and integrates the forw ## Issues -TODO(ludoo): check if this is still the case after splitting out MIG from compute-vm - -There are some corner cases (eg when switching the instance template from internal service account to an externally managed one) where Terraform raises a cycle error on apply. In these situations, run successive applies targeting resources used in the template first then the template itself, and the cycle should be fixed. +There are some corner cases where Terraform raises a cycle error on apply, for example when using the entire ILB module as a value in `for_each` counts used to create static routes in the VPC module. These are easily fixed by using forwarding rule ids instead of modules as values in the `for_each` loop. + ## Examples -### Reference existing MIGs +- [Referencing existing MIGs](#referencing-existing-migs) +- [Externally manages instances](#externally-managed-instances) +- [End to end example](#end-to-end-example) + +### Referencing existing MIGs This example shows how to reference existing Managed Infrastructure Groups (MIGs).