Commit Graph

375 Commits (ea93b91a80201c19c00d12dfd6fddc46f443bd2a)

Author SHA1 Message Date
James Bardin 01be1a5ecd Check for interpolated values when reading a map
10 years ago
Mitchell Hashimoto 0634aada69
Revert "core: Ensure hasComputedSubKeys iterates over Sets and Lists properly"
10 years ago
Mitchell Hashimoto f2fcf1494a
Merge branch 'fix-field-reader-setsubkeys-computed' of https://github.com/vancluever/terraform into vancluever-fix-field-reader-setsubkeys-computed
10 years ago
Chris Marchesi 8d06d68d0f core: Backport NewComputed change to nested list/set tests
10 years ago
Chris Marchesi f258056731 core: Tests for hasComputedSubKeys fix
10 years ago
Chris Marchesi 4d8208d840 core: Ensure hasComputedSubKeys iterates over Sets and Lists properly
10 years ago
James Bardin c4eefd4b5e Allow primitive type in maps via all FieldReaders
10 years ago
James Bardin 730014b33e Convert the map fields values when reading diff
10 years ago
Radek Simko ad34f1ec74 Add (failing) test for map w/ non-string values
10 years ago
Mitchell Hashimoto 39542898b0
helper/schema: mark diff as forcenew if element is computed
10 years ago
Mitchell Hashimoto 15f50b86bf
helper/schema: passing tests for computed complex sets
10 years ago
Mitchell Hashimoto 29485f6167
terraform: ResourceConfig.IsComputed cases
10 years ago
Mitchell Hashimoto 5792b2cba2
helper/schema: convert _Diff to subtests
10 years ago
Mitchell Hashimoto 2b7177cfe7 Merge pull request #9607 from hashicorp/f-provider-stop-redo
10 years ago
Mitchell Hashimoto e45debe0e5
helper/schema: only mark "ForceNew" on resources that cause the ForceNew
10 years ago
Mitchell Hashimoto b7bee66df5
helper/schema: sort errors in helper/schema test for deterministic tests
10 years ago
Mitchell Hashimoto f0abe6d1a0 Merge pull request #9812 from hashicorp/b-bool-computed-crash
10 years ago
Mitchell Hashimoto 65b17ccd06
helper/schema: allow ConflictsWith and Computed Optional fields
10 years ago
Mitchell Hashimoto 7834cf7190
helper/schema: computed bool fields should not crash
10 years ago
Mitchell Hashimoto 2d84582881 Merge pull request #9699 from hashicorp/b-removed-forcenew
10 years ago
Mitchell Hashimoto f7a234bc71
helper/schema: validate Read, Delete are set
10 years ago
Mitchell Hashimoto 5489d8c549
helper/schema: removed optional items force new
10 years ago
Mitchell Hashimoto 3f36787207 Merge pull request #9618 from hashicorp/b-computed-prim
10 years ago
Mitchell Hashimoto 95d37ea79c
helper/schema,terraform: handle computed primtives in diffs
10 years ago
Mitchell Hashimoto 5ee8042dff
helper/schema: expose stop information as a Context
10 years ago
Mitchell Hashimoto d1bb2f3487
helper/schema: support Stop()
10 years ago
Mitchell Hashimoto 60140b28f4
Revert "Merge pull request #9536 from hashicorp/f-provider-stop"
10 years ago
Mitchell Hashimoto 86eb30b8a2
helper/schema: expose stop information as a Context
10 years ago
Mitchell Hashimoto 8c11f137f5
helper/schema: support Stop()
10 years ago
James Nugent 43dd13cd36 helper/schema: Introduce Noop and RemoveFromState
10 years ago
Mitchell Hashimoto fa9758e162
helper/schema: test with DiffSuppress and Default
10 years ago
stack72 5a537cdbf9
helper/schema: Adding of MinItems as a validation to Lists and Maps
10 years ago
Paul Hinze 534a5a3b75 Merge pull request #8891 from gotascii/fix-diff-set-update
10 years ago
Justin Marney 895d10a627 Use DeepEqual instead of multiple if statements to reduce noise.
10 years ago
Justin Marney 53e10dfa89 Name test appropriately.
10 years ago
Justin Marney 9217f5a063 Unchanged NestedSets are not returned by DiffFieldReader.
10 years ago
James Nugent e0226c9039 core: Check for attrV being nil before dereference
10 years ago
Paul Stack bf755bb5c9 Merge pull request #8585 from hashicorp/f-diff-suppression
10 years ago
James Nugent 85ec09111b helper/schema: Add diff suppression callback
10 years ago
Radek Simko b90ab0b705
schema: Return all validation errors together from InternalValidate
10 years ago
Paul Hinze 3dccfa0cc9
terraform: diffs with only tainted set are non-empty
10 years ago
Clint a84aa5e914 Revert "helper/schema: Make nested Set(s) in List(s) work" (#7436)
10 years ago
Radek Simko 37d57f4a85 Improve naming convention (resultSet -> exists)
10 years ago
Radek Simko 917ad44cf0 helper/schema: Fix readSet implementation (DiffFieldReader)
10 years ago
Radek Simko c738c5a9a3 helper/schema: Implement reader-specific readList method
10 years ago
Radek Simko 378b526dc3 helper/schema: Add regression tests for nested Set/List
10 years ago
James Nugent dbf725bd68 core: Allow dynamic attributes in helper/schema
10 years ago
clint shryock 7d71b8cc3c helper and terraform interpolate test update
10 years ago
James Bardin 2c7b702d1f Merge pull request #7091 from hashicorp/jbardin/serialize
10 years ago
James Bardin bab031aac5 Add test for TypeMap in a Schema
10 years ago