From 516eda181a27a79c7db8a528029c870f57db9b2a Mon Sep 17 00:00:00 2001 From: The Magician Date: Thu, 15 Oct 2020 09:11:54 -0700 Subject: [PATCH] add docs for create_before_destroy on network endpoint groups (#4114) (#308) Signed-off-by: Modular Magician --- plugins/modules/gcp_compute_network_endpoint_group.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/modules/gcp_compute_network_endpoint_group.py b/plugins/modules/gcp_compute_network_endpoint_group.py index a59856e..9d7ff3e 100644 --- a/plugins/modules/gcp_compute_network_endpoint_group.py +++ b/plugins/modules/gcp_compute_network_endpoint_group.py @@ -39,6 +39,9 @@ description: load balancers. Because NEG backends allow you to specify IP addresses and ports, you can distribute traffic in a granular fashion among applications or containers running within VM instances. +- Recreating a network endpoint group that's in use by another resource will give + a `resourceInUseByAnotherResource` error. Use `lifecycle.create_before_destroy` + to avoid this type of error. short_description: Creates a GCP NetworkEndpointGroup author: Google Inc. (@googlecloudplatform) requirements: