Update website/docs/language/resources/behavior.mdx

Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
pull/30931/head
James Bardin 4 years ago committed by GitHub
parent 4e95b24022
commit 0501980b46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -89,11 +89,7 @@ cases,
[the `depends_on` meta-argument](/language/meta-arguments/depends_on)
can explicitly specify a dependency.
In some cases a resource may need to be replaced when a dependency is updated
or replaced, but there is no natural reference to add in the resource
configuration. In that case
[the `replace_triggered_by` meta-argument](/language/meta-arguments/lifecycle#replace_triggered_by)
can be used to add the necessary dependency and force replacement.
You can also use the [`replace_triggered_by` meta-argument](/language/meta-arguments/lifecycle#replace_triggered_by) to add dependencies between otherwise independent resources. It forces Terraform to replace the parent resource when there is a change to a referenced resource or resource attribute.
## Local-only Resources

Loading…
Cancel
Save