From 2feb44f46846ce97f453a2bf7c4334554b9898ec Mon Sep 17 00:00:00 2001 From: The Magician Date: Wed, 27 Mar 2024 14:09:17 -0700 Subject: [PATCH] Update documentation for the endpoints to include mention of update_triggered_by (#10271) (#17705) [upstream:5a465a015a2aa39d99c703b9e71d20432eee9dfa] Signed-off-by: Modular Magician --- .changelog/10271.txt | 3 +++ website/docs/r/compute_network_endpoint.html.markdown | 4 ++++ website/docs/r/compute_network_endpoints.html.markdown | 4 ++++ 3 files changed, 11 insertions(+) create mode 100644 .changelog/10271.txt diff --git a/.changelog/10271.txt b/.changelog/10271.txt new file mode 100644 index 00000000000..42b910df155 --- /dev/null +++ b/.changelog/10271.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` \ No newline at end of file diff --git a/website/docs/r/compute_network_endpoint.html.markdown b/website/docs/r/compute_network_endpoint.html.markdown index 5c160f676eb..e02e52d518b 100644 --- a/website/docs/r/compute_network_endpoint.html.markdown +++ b/website/docs/r/compute_network_endpoint.html.markdown @@ -26,6 +26,10 @@ collections of these endpoints for GCP resources within a single subnet. **NOTE**: Network endpoints cannot be created outside of a network endpoint group. +-> **NOTE** In case the Endpoint's Instance is recreated, it's needed to +perform `apply` twice. To avoid situations like this, please use this resource +with the lifecycle `update_triggered_by` method, with the passed Instance's ID. + To get more information about NetworkEndpoint, see: diff --git a/website/docs/r/compute_network_endpoints.html.markdown b/website/docs/r/compute_network_endpoints.html.markdown index 77df83d8adf..c3f603b3e20 100644 --- a/website/docs/r/compute_network_endpoints.html.markdown +++ b/website/docs/r/compute_network_endpoints.html.markdown @@ -28,6 +28,10 @@ Network endpoints cannot be created outside of a network endpoint group. This resource is authoritative for a single NEG. Any endpoints not specified by this resource will be deleted when the resource configuration is applied. +-> **NOTE** In case the Endpoint's Instance is recreated, it's needed to +perform `apply` twice. To avoid situations like this, please use this resource +with the lifecycle `update_triggered_by` method, with the passed Instance's ID. + To get more information about NetworkEndpoints, see: