diff --git a/modules/net-vpn-ha/README.md b/modules/net-vpn-ha/README.md index 84bf7ab00..bbc721b63 100644 --- a/modules/net-vpn-ha/README.md +++ b/modules/net-vpn-ha/README.md @@ -90,6 +90,8 @@ module "vpn_ha-2" { # tftest modules=2 resources=18 ``` +Note: When using the `for_each` Meta-Argument you might experience a Cycle Error due to the multiple `net-vpn-ha` modules referencing each others. To fix this you can create the [google_compute_ha_vpn_gateway](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_ha_vpn_gateway) resources separately and reference them in the `net-vpn-ha` module via the `vpn_gateway` and `peer_gcp_gateway` variables. + ### GCP to on-prem ```hcl