Commit Graph

22106 Commits (e8a9cc577ab7f5c8656cbf823fa52ee4d57ef45c)
 

Author SHA1 Message Date
Martin Atkins e8a9cc577a core: Move some of the helper/schema shims so provider mock can use them
8 years ago
Martin Atkins f883e93493 core: Don't panic in refresh tests
8 years ago
Martin Atkins eafb3b7df8 core: EvalDiff to panic earlier if it gets back nil value from provider
8 years ago
Martin Atkins 35ae732cb2 config/hcl2shim: Treat DynamicVal like any other unknown value in flatmap
8 years ago
Martin Atkins fb0822aeb8 core: MockProvider not to panic if import mock function returns no attrs
8 years ago
Martin Atkins 15d70415d4 core: Fix various compile-time errors in tests
8 years ago
Martin Atkins 57cb690231 core: Split Replace changes into separate Delete/Create changes
8 years ago
Martin Atkins cb303a6d97 core: don't panic if NewResourceConfigShimmed gets a null
8 years ago
Martin Atkins a9019f994f core: EvalCheckPlannedChange to check change action
8 years ago
Martin Atkins 07126364ba command: UiHook to report when it gets incorrect values
8 years ago
James Bardin 2c24aad4a5
Merge pull request #18790 from hashicorp/jbardin/unknown-id
8 years ago
James Bardin d1679f0883 resource ids must always have a value
8 years ago
Martin Atkins 2d07f6f4fe build: Document in a machine-readable way that we are now using Go 1.11
8 years ago
Martin Atkins bed2566c76 vendor: update cty to v0.0.0-20180831220647-752f6a689f5e
8 years ago
Martin Atkins d9b1c04e84 core: Record correct provider address in orphan destroy plan
8 years ago
Martin Atkins 74ff584e55 core: Prune placeholder objects from state after refresh
8 years ago
Martin Atkins ec2d69fcc6 core: StateReferences method should return []addrs.Referenceable
8 years ago
Martin Atkins bde227f0a5 core: Extra TRACE logging in the eval_state.go eval nodes.
8 years ago
Martin Atkins 3a3f71707b command/format: Render unified diff for list and tuple value changes
8 years ago
Martin Atkins 68433696e8 command/format: Further refinement on the heuristic JSON-based diff
8 years ago
Martin Atkins 74f2642236 command/format: JSON value formatting heuristic not for primitive values
8 years ago
Martin Atkins cb7e1d696e command/format: Don't include commas after elements in map diffs
8 years ago
Martin Atkins e86a26fd98 command/format: show deep diffs for old/new JSON strings
8 years ago
Martin Atkins fa083099c7 command/format: correct alignment for multi-line values in map diff
8 years ago
Martin Atkins 67ffe4cb59 backend/local: Sort planned resource changes before rendering them
8 years ago
Martin Atkins bd1192649e command/format: Nice rendering for changes to map values
8 years ago
Martin Atkins 88a8b6064d command/format: Show resource diff with header "comment"
8 years ago
Martin Atkins 86e8885bd1 command: initial structural diff rendering
8 years ago
Martin Atkins caf64c5790 plans/objchange: LongestCommonSubsequence
8 years ago
Martin Atkins 554fb8a8fc plans: Track RequiredReplace as a cty.PathSet
8 years ago
Martin Atkins dfba9e68de core: Fix error reporting for malformed provider response values
8 years ago
Martin Atkins e3fe08a58b providers/terraform: Always produce correctly-typed result
8 years ago
Martin Atkins 31514a1159 core: Re-implement EvalReadDataApply against new provider interface
8 years ago
Martin Atkins b1c5cd6e89 tfdiags: FormatErrorPrefixed
8 years ago
Martin Atkins 6fc588bc42 core: EvalReadDataDiff to output direct config value alongside planned
8 years ago
Martin Atkins 036991daf0 core: Evaluate resource references from plan where possible
8 years ago
Martin Atkins 4f7052ef10 core: Re-implement ReadDataDiff around our new approach
8 years ago
Martin Atkins 3e091cb854 plans/objchange: when prior is null, computed attributes are unknown
8 years ago
Martin Atkins acdb5128a0 core: Don't panic if "required replace" path doesn't resolve to a value
8 years ago
Martin Atkins 4a5c321c10 core: Fix evaluation of collections of resource instances
8 years ago
Martin Atkins 0d9fd7a40f helper/plugin: ReadResource to deal with missing remote object
8 years ago
Martin Atkins 3f232648fc core: Remove changes from the plan after they are applied
8 years ago
Martin Atkins f68642d923 core: Properly handle no-op changes in plan
8 years ago
Martin Atkins de6c3e07d0 plans: ChangesSync.GetResourceInstanceChange must copy the change
8 years ago
Martin Atkins 85c747da79 helper/plugin: Don't panic while preparing response in ApplyResourceChange
8 years ago
Martin Atkins 5724ca47e7 core: Re-implement EvalReadDiff for the new plan types
8 years ago
Martin Atkins d1704da79d states/statemgr: don't panic if no state file is present on first write
8 years ago
Martin Atkins 4e12671d8d command/format: show planned changes in rendered plan
8 years ago
Martin Atkins c7e558c153 core: Re-implement EvalWriteDiff to work with new plan types
8 years ago
Martin Atkins 099b673b98 helper/plugin: don't panic in PlanResourceChange PlannedState
8 years ago