opentofu/internal
Martin Atkins fdd992cfa7 planning: Build manage resource instance execgraph from planned change
The temporary placeholder code was relying only on the
DesiredResourceInstance object, which was good enough for proving that this
could work at all and had the advantage of being a new-style model with
new-style representations of the provider instance address and the other
resource instances that the desired object depends on.

But that isn't enough information to plan anything other than "create"
changes, so now we'll switch to using plans.ResourceInstanceChange as the
main input to the execgraph building logic, even though for now that means
we need to carry a few other values alongside it to compensate for the
shortcomings of that old model designed for the old language runtime.

So far this doesn't actually change what we do in response to the change
so it still only supports "create" changes. In future commits we'll make
the execGraphBuilder method construct different shapes of graph depending
on which change action was planned.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2026-02-09 07:35:50 -08:00
..
addrs addrs: Set.All for iterating the set elements 2026-02-04 07:29:01 -08:00
backend Move new engine integration point into tofu.Context (#3718) 2026-02-03 09:07:54 -05:00
builtin cleanup: remove stale FIXME in tf provider (#3625) 2026-01-05 13:09:50 -05:00
checks go.mod: Use the new "tool" directive 2025-10-10 07:06:56 -03:00
cloud Support dual output streams in most commands (#3606) 2026-01-20 14:08:10 -05:00
collections collections+addrs: Build sets from iter.Seq[T] 2025-10-27 10:15:41 -07:00
command Move new engine integration point into tofu.Context (#3718) 2026-02-03 09:07:54 -05:00
communicator fix: typos in comments (#3691) 2026-01-19 13:46:12 +00:00
configs Provider validation for enabled at module calls (#3680) 2026-01-20 13:06:22 -03:00
copy Use parallel errgroup to increase file copy speed (#3214) 2025-09-02 08:32:02 -04:00
dag Module Expansion Transformer now skips creating edges for check related nodes (#3582) 2026-01-11 19:14:47 -03:00
depsfile tracing: Centralize our OpenTelemetry package imports 2025-10-30 13:27:10 -07:00
didyoumean Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
e2e Cleanup github workflows (#2903) 2025-06-11 07:15:07 -04:00
encryption Make it clear for the external key providers when it needs to generate decryption key (#3672) 2026-01-27 12:20:23 +02:00
engine planning: Build manage resource instance execgraph from planned change 2026-02-09 07:35:50 -08:00
experiments Another batch of minor typos (#1953) 2024-09-09 07:51:39 -04:00
flock create automated tests for the internal/flock package (#3366) 2025-12-02 12:07:25 -03:00
genconfig Address review comments 2025-09-10 07:45:23 -04:00
getmodules traceattrs: Functions for the commonly-used OCI-related attributes 2025-11-03 11:41:50 -08:00
getproviders Parallelize provider installation (#2729) 2025-12-01 11:55:53 -05:00
grpcwrap Use the latest protobuf tools and libraries throughout 2025-10-08 07:43:40 -07:00
helper/slowmessage Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
httpclient Add logger to the registry client (#3736) 2026-02-06 09:45:29 +02:00
initwd registry: Remove legacy "regsrc" package, use regaddr instead 2025-12-08 07:47:48 -08:00
instances Module expander for enabled field 2025-10-03 13:17:47 -03:00
ipaddr Implement the first part of RFC 20250303-linter-policy (#2577) 2025-03-10 13:16:27 -04:00
lang planning: Further simplify provider instance items in execgraph 2026-02-05 13:06:39 -08:00
legacy fix: typos in comments (#3691) 2026-01-19 13:46:12 +00:00
logging Another batch of minor typos (#1953) 2024-09-09 07:51:39 -04:00
modsdir initwd Windows tests fixes (#1723) 2024-06-18 10:49:30 -04:00
moduletest go.mod: Upgrade various golang.org/x/* dependencies 2025-10-10 08:23:54 -07:00
plans Error checking simplifications (#3694) 2026-01-20 09:27:14 +00:00
plugin Remove global schema cache and clean up tofu schema/contextPlugins (#3589) 2025-12-17 09:49:39 -05:00
plugin6 Remove deferral capability leftover (#3676) 2026-01-16 09:30:37 +02:00
provider-simple Ephemeral todos handling (#3177) 2025-09-10 07:45:23 -04:00
provider-simple-v6 Ephemeral todos handling (#3177) 2025-09-10 07:45:23 -04:00
providercache Fix a hard to catch race condition in providers installation process (#3702) 2026-01-23 15:34:25 +02:00
providers Remove global schema cache and clean up tofu schema/contextPlugins (#3589) 2025-12-17 09:49:39 -05:00
provisioner-local-exec/main Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
provisioners Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
refactoring Implicit moves for modules (#3327) 2025-10-15 09:10:15 -03:00
registry registry: Remove legacy "regsrc" package, use regaddr instead 2025-12-08 07:47:48 -08:00
repl Ephemeral todos handling (#3177) 2025-09-10 07:45:23 -04:00
replacefile Fix linting on Windows (#3457) 2025-12-02 07:11:14 -03:00
shared engine/ephemeral: Wire together basic ephemeral functionality (#3710) 2026-02-04 16:44:20 -05:00
states Use explicit NoKey check instead of assuming nil in v3 upgrade (#3696) 2026-01-20 14:25:40 -05:00
terminal Fix linting on Windows (#3457) 2025-12-02 07:11:14 -03:00
tfdiags Replace github.com/go-test/deep with go-cmp 2025-10-13 08:17:40 -07:00
tfplugin5 Use the latest protobuf tools and libraries throughout 2025-10-08 07:43:40 -07:00
tfplugin6 Use the latest protobuf tools and libraries throughout 2025-10-08 07:43:40 -07:00
tofu engine/ephemeral: Wire together basic ephemeral functionality (#3710) 2026-02-04 16:44:20 -05:00
tofumigrate Adopt OpenTofu's own "svchost" module 2025-06-12 09:37:59 -07:00
tracing traceattrs: Functions for the commonly-used OCI-related attributes 2025-11-03 11:41:50 -08:00