Add warning about -target arg usage with individual resource instance address (#3280)

Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
This commit is contained in:
Andrei Ciobanu
2025-09-19 09:39:22 +03:00
committed by GitHub
parent 2d5ea98257
commit aa403e5f99

View File

@@ -295,6 +295,13 @@ information about resources declared in other configurations, allowing
a complex system architecture to be broken down into more manageable parts
that can be updated independently.
:::warning
Even though `-target` and `-exclude` both accept individual resource instance addresses,
due to some legacy decisions that cannot be undone without changing fully the way these features
work, using individual resource instance addresses for these should not be relied on.
Instead, these options should be used only with whole-resource addresses.
:::
## Other Options
The `tofu plan` command also has some other options that are related to