Commit Graph

58 Commits (bf0fb89a2ae2b5bf7d6e512bcb64eb2ceee2edf6)

Author SHA1 Message Date
Martin Atkins 95e5ef13a7 vendor: go get github.com/zclconf/go-cty@master
7 years ago
Martin Atkins 88e76fa9ef configs/configschema: Introduce the NestingGroup mode for blocks
7 years ago
Martin Atkins 87fe6cbecd plans/objchange: Don't panic when prior state contains nested map blocks
7 years ago
Martin Atkins c5aa5c68bc plans/objchange: Don't panic when dynamic-typed attrs are present
7 years ago
James Bardin e50be82da4 don't add empty blocks in ProposedNewObject
7 years ago
Martin Atkins c280c27d87 plans/objchange: func NormalizeObjectFromLegacySDK
7 years ago
Martin Atkins 0b2cc6298b plans/objchange: Fix panic in AssertObjectCompatible with set blocks
7 years ago
Martin Atkins e831182c8d plans/objchange: Hide sensitive attribute values in error messages
7 years ago
Martin Atkins fec6e0328d plans/objchange: AssertPlanValid function
7 years ago
Martin Atkins 312d798a89 core: Restore our EvalReadData behavior
7 years ago
Martin Atkins c794bf5bcc plans/objchange: Don't presume unknown for values unset in config
7 years ago
Martin Atkins 7216049fdb plans/objchange: Improve precision of AssertObjectCompatible with sets
7 years ago
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