Skip to content

Commit

Permalink
Fix references to non-existent TF meta-argument update_triggered_by
Browse files Browse the repository at this point in the history
… in docs (#10708)
  • Loading branch information
BorysekOndrej committed May 16, 2024
1 parent 58dccf2 commit 3b13231
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion mmv1/products/compute/InstanceGroup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ parameters:
!> **WARNING** If a user will be recreating instances under the same name
(eg. via `terraform taint`), please consider adding instances to an instance
group via the `instance_group_membership` resource, along side the
`update_triggered_by` lifecycle method with an instance's ID.
`replace_triggered_by` lifecycle method with an instance's ID.
exclude: true
item_type: !ruby/object:Api::Type::ResourceRef
name: 'instance'
Expand Down
2 changes: 1 addition & 1 deletion mmv1/products/compute/InstanceGroupMembership.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ description: |
-> **NOTE** This resource has been added to avoid a situation, where after
Instance is recreated, it's removed from Instance Group and 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.
with the lifecycle `replace_triggered_by` method, with the passed Instance's ID.
immutable: true
create_verb: :POST
create_url: projects/{{project}}/zones/{{zone}}/instanceGroups/{{instance_group}}/addInstances
Expand Down
4 changes: 2 additions & 2 deletions mmv1/products/compute/NetworkEndpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +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.
with the lifecycle `replace_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: 2 additions & 2 deletions mmv1/products/compute/NetworkEndpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +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.
with the lifecycle `replace_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 3b13231

Please sign in to comment.