mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
core: Correct typo in "Moved resource instances excluded by targeting" error message
This commit is contained in:
parent
76737a8966
commit
fed6538dec
@ -500,7 +500,7 @@ func (c *Context) prePlanVerifyTargetedMoves(moveResults refactoring.MoveResults
|
||||
tfdiags.Error,
|
||||
"Moved resource instances excluded by targeting",
|
||||
fmt.Sprintf(
|
||||
"Resource instances in your current state have moved to new addresses in the latest configuration. Terraform must include those resource instances while planning in order to ensure a correct result, but your -target=... options to not fully cover all of those resource instances.\n\nTo create a valid plan, either remove your -target=... options altogether or add the following additional target options:%s\n\nNote that adding these options may include further additional resource instances in your plan, in order to respect object dependencies.",
|
||||
"Resource instances in your current state have moved to new addresses in the latest configuration. Terraform must include those resource instances while planning in order to ensure a correct result, but your -target=... options do not fully cover all of those resource instances.\n\nTo create a valid plan, either remove your -target=... options altogether or add the following additional target options:%s\n\nNote that adding these options may include further additional resource instances in your plan, in order to respect object dependencies.",
|
||||
listBuf.String(),
|
||||
),
|
||||
))
|
||||
|
@ -1574,7 +1574,7 @@ The -target option is not for routine use, and is provided only for exceptional
|
||||
tfdiags.Sourceless(
|
||||
tfdiags.Error,
|
||||
"Moved resource instances excluded by targeting",
|
||||
`Resource instances in your current state have moved to new addresses in the latest configuration. Terraform must include those resource instances while planning in order to ensure a correct result, but your -target=... options to not fully cover all of those resource instances.
|
||||
`Resource instances in your current state have moved to new addresses in the latest configuration. Terraform must include those resource instances while planning in order to ensure a correct result, but your -target=... options do not fully cover all of those resource instances.
|
||||
|
||||
To create a valid plan, either remove your -target=... options altogether or add the following additional target options:
|
||||
-target="test_object.a"
|
||||
@ -1614,7 +1614,7 @@ The -target option is not for routine use, and is provided only for exceptional
|
||||
tfdiags.Sourceless(
|
||||
tfdiags.Error,
|
||||
"Moved resource instances excluded by targeting",
|
||||
`Resource instances in your current state have moved to new addresses in the latest configuration. Terraform must include those resource instances while planning in order to ensure a correct result, but your -target=... options to not fully cover all of those resource instances.
|
||||
`Resource instances in your current state have moved to new addresses in the latest configuration. Terraform must include those resource instances while planning in order to ensure a correct result, but your -target=... options do not fully cover all of those resource instances.
|
||||
|
||||
To create a valid plan, either remove your -target=... options altogether or add the following additional target options:
|
||||
-target="test_object.b"
|
||||
@ -1654,7 +1654,7 @@ The -target option is not for routine use, and is provided only for exceptional
|
||||
tfdiags.Sourceless(
|
||||
tfdiags.Error,
|
||||
"Moved resource instances excluded by targeting",
|
||||
`Resource instances in your current state have moved to new addresses in the latest configuration. Terraform must include those resource instances while planning in order to ensure a correct result, but your -target=... options to not fully cover all of those resource instances.
|
||||
`Resource instances in your current state have moved to new addresses in the latest configuration. Terraform must include those resource instances while planning in order to ensure a correct result, but your -target=... options do not fully cover all of those resource instances.
|
||||
|
||||
To create a valid plan, either remove your -target=... options altogether or add the following additional target options:
|
||||
-target="test_object.a"
|
||||
|
Loading…
Reference in New Issue
Block a user