Skip to content

Commit

Permalink
Update documentation for the endpoints to include mention of update_t…
Browse files Browse the repository at this point in the history
…riggered_by (GoogleCloudPlatform#10271)
  • Loading branch information
Cheriit authored and cmfeng committed Apr 5, 2024
1 parent 860ea3c commit 554722c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mmv1/products/compute/NetworkEndpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ description: |
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.
immutable: true
create_verb: :POST
create_url: projects/{{project}}/zones/{{zone}}/networkEndpointGroups/{{network_endpoint_group}}/attachNetworkEndpoints
Expand Down
4 changes: 4 additions & 0 deletions mmv1/products/compute/NetworkEndpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ description: |
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.
create_verb: :POST
create_url: projects/{{project}}/zones/{{zone}}/networkEndpointGroups/{{network_endpoint_group}}/attachNetworkEndpoints
update_verb: :POST
Expand Down

0 comments on commit 554722c

Please sign in to comment.