Commit Graph

80 Commits (e024960c745f0a464cb081d04765d93f94deaba0)

Author SHA1 Message Date
James Bardin e024960c74 Revert "filter nulls when shimming a config"
7 years ago
James Bardin f5395bd98a validate null values in shimmed configs
7 years ago
James Bardin 64c76be804 fixup lost collections containing unknowns
7 years ago
James Bardin 86e30add98 fix unknowns added to maps by schemaMap
7 years ago
James Bardin 009df443f7 restore lost unknowns during a planned update.
7 years ago
Martin Atkins 135121562e helper/plugin: Implement Schema.SkipCoreTypeCheck
7 years ago
Martin Atkins 1987a92386 helper/schema: Implementation of the AsSingle mechanism
7 years ago
James Bardin e080706e2e treat normalization during ReadResource like Plan
7 years ago
James Bardin 6ecf9b143b we can normalize nulls in Read again
7 years ago
James Bardin 11ec3a420e remove normalizeFlatmapContainers
7 years ago
James Bardin 9d4bb6ec14 stop removing empty flatmap containers
7 years ago
James Bardin 6cdf9ff566 Revert "normalize all objects read from the provider"
7 years ago
James Bardin 209a0a460a normalize all objects read from the provider
7 years ago
James Bardin 3600f59bb7
Merge pull request #20525 from hashicorp/jbardin/extra-set-value
7 years ago
James Bardin 2b4d030a69 don't re-add removed list values even when planned
7 years ago
James Bardin 47604c36c8 remove the partially-known ~ set sigil in diffs
7 years ago
James Bardin 33d5ddf291 remove empty timeouts blocks in copyTimeoutValues
7 years ago
James Bardin 49230f8198 existing fields cannot become computed during plan
7 years ago
James Bardin 9a39af5047 1->0 set changes non longer should happen in Read
7 years ago
James Bardin f9b62cb5fe
Merge pull request #20335 from hashicorp/jbardin/diff-apply
7 years ago
James Bardin c34c37fbd5 missed .% suffixes in diff.Apply
7 years ago
Martin Atkins fedbd6c3b8 helper/plugin: fix panic with empty objects in normalizeNullValues
7 years ago
Martin Atkins eb1346447f
Merge #20282: Enforce expected behaviors for provider PlanResourceChange
7 years ago
Martin Atkins 31299e688d core: Allow legacy SDK to opt out of plan-time safety checks
7 years ago
James Bardin 1bfc27817e process state even after provider.Apply errors
7 years ago
James Bardin 82588af892 switch blocks based on value type, and check attrs
7 years ago
James Bardin 32671241e0 set unknowns during initial PlanResourceChange
7 years ago
James Bardin d17ba647a8 add SetUnknowns
7 years ago
Martin Atkins 1530fe52f7 core: Legacy SDK providers opt out of our new apply result check
7 years ago
James Bardin 3b18dd7c01
Merge pull request #20224 from hashicorp/jbardin/sdk
7 years ago
James Bardin 58c9c2311a Turn on helper/schema proto5 flag in GetSchema
7 years ago
Martin Atkins bdcac8792d plugin: Use correct schema when marshaling imported resource objects
8 years ago
James Bardin 4a603011c5 don't normalizeNullValues in ReadResource
8 years ago
James Bardin ba081f5de4 change copyMissingValues to normalizeNullValues
8 years ago
James Bardin 3b04b41250 fix RequiresNew in diff
8 years ago
Martin Atkins 477da57a92 helper/plugin: Honor resource type overrides in import
8 years ago
Paul Tyng bb9ae50279
Copy TF version to helper/schema provider
8 years ago
James Bardin 37b5e2dc87 don't remove empty diff values
8 years ago
James Bardin 46a4628782
Merge pull request #20081 from hashicorp/jbardin/list-block
8 years ago
Martin Atkins f65b7c5372 helper/plugin: Discard meaningless differences from provider planning
8 years ago
James Bardin 8d302c5bd2 update grpc_provider for new diffs
8 years ago
James Bardin 286cb0a39d clean out diff a little more before checking
8 years ago
James Bardin 4f691c5988 don't replace null strings with empty strings
8 years ago
James Bardin 2cc651124e don't overwrite values in plan
8 years ago
James Bardin 7d05dee08d refactor ApplyResourceChange
8 years ago
James Bardin 0a731167db add a round trip through the shims during apply
8 years ago
James Bardin e8096e9c8b normalize values during ReadResource
8 years ago
James Bardin b55ec74c27 add copyMissingValues for normalizing shimmed Vals
8 years ago
James Bardin 8300d65539 don't strip sets with count 1 when normalizing
8 years ago
James Bardin 924b97238f Handle StateFuncs in provider shim
8 years ago