Commit Graph

46 Commits (cef46ef953face71f52f4e900a0ea2132ebfae88)

Author SHA1 Message Date
James Bardin f3fe6184a0 test for destroy plan round trip
7 years ago
James Bardin 1b8617cef0 don't attempt to decode empty changes values
7 years ago
James Bardin a915f3f13e don't convert empty DynamicValue to nil
7 years ago
James Bardin 78256ae225 return early when comparing Null values
8 years ago
Martin Atkins 300eceeb25 plans/planfile: fix TestRoundtrip
8 years ago
Martin Atkins ab62b330c1 core: Allow planned output changes to be updated during apply
8 years ago
Martin Atkins bbf8dacac8 plans: OutputChange.Encode must preserve Addr field
8 years ago
James Bardin e93d69f18b more nil/known checks before val.LengthInt
8 years ago
James Bardin e08a388d3c check IsKnown on values that may panic
8 years ago
Martin Atkins ec57927ea3 build: Take protoc out of the "go generate" path
8 years ago
Martin Atkins 9b4b43c077 plans/objchange: Don't panic when a prior value with a set is null
8 years ago
Martin Atkins 2b80df0163 backend/local: Require caller to set PlanOutBackend with PlanOutPath
8 years ago
Kristin Laemmert 2d3cb87789 backend/local tests tests tests
8 years ago
Kristin Laemmert 6a37ee9277 backend/local: more tests passing
8 years ago
Martin Atkins b0016e9cf6 command: Allow tests to run to completion without panics or hangs
8 years ago
Kristin Laemmert c661157999 plans/objchange: further harden ProposedNewObject against ~weird~
8 years ago
Kristin Laemmert 2a8aa6a139 plans/objchange: if priorV is unknown, fall through to the recursive call to `ProposedNewObject`
8 years ago
Martin Atkins 32974549cd plans/objchange: Fix handling of unknown in AssertValueCompatible
8 years ago
Martin Atkins 896b6bc897 core: Fix test build for ./plans/planfile
8 years ago
Martin Atkins 9179cdcbc6 plans/planfile: allow resource instances with no instance key
8 years ago
Martin Atkins 3e9d23b120 plans: Regenerate Action.String for new action values
8 years ago
Martin Atkins a43b7df282 core: Handle forced-create_before_destroy during the plan walk
8 years ago
James Bardin b738cdb19f make Changes.Empty() not count NoOps
8 years ago
Martin Atkins d53c3d5c1b plans: Retain output value changes for all outputs in memory
8 years ago
Martin Atkins 8048e9a585 plans/objchange: Don't panic if old or new values are null
8 years ago
Martin Atkins 6fd82ef97e core: Split Replace changes into separate Delete/Create changes
8 years ago
Martin Atkins 1aa9ac14cc plans/objchange: LongestCommonSubsequence
8 years ago
Martin Atkins 1ced176fc6 plans: Track RequiredReplace as a cty.PathSet
8 years ago
Martin Atkins 3f8a973846 plans/objchange: when prior is null, computed attributes are unknown
8 years ago
Martin Atkins 1d672623eb core: Remove changes from the plan after they are applied
8 years ago
Martin Atkins 2f0e5d93c8 plans: ChangesSync.GetResourceInstanceChange must copy the change
8 years ago
Martin Atkins 3d86dc51e0 core: Re-implement EvalReadDiff for the new plan types
8 years ago
Martin Atkins bd299b9a22 core: Re-implement EvalWriteDiff to work with new plan types
8 years ago
Martin Atkins 44bc7519a6 terraform: More wiring in of new provider types
8 years ago
Martin Atkins 549544f201 configschema: Handle nested blocks containing dynamic-typed attributes
8 years ago
Martin Atkins 4c78539c2b plans/objchange: AssertObjectSuperset function
8 years ago
Martin Atkins 0317da9911 plans/objchange: logic for merging prior state with config
8 years ago
Martin Atkins dfe0988f10 plans: Record private data bytes as part of resource change
8 years ago
Martin Atkins a3403f2766 terraform: Ugly huge change to weave in new State and Plan types
8 years ago
Martin Atkins b7db32b819 plans: separate types for encoded and decoded changes
8 years ago
Martin Atkins 074db88636 plans: Include target addresses in the plan
8 years ago
Martin Atkins d9dfd135c6 plans: Include backend settings in plan and plan files
8 years ago
Martin Atkins f77e7a61b0 various: helpers for collecting necessary provider types
8 years ago
Martin Atkins 51aeba2cf2 plans: Record provider config address in each resource change
8 years ago
Martin Atkins a2eb462f5d plans/planfile: Reading and writing the new plan format
8 years ago
Martin Atkins 7357e7f734 plans: New package for in-memory plan models
8 years ago