Commit Graph

155 Commits (551eedcf2616376b00d7da170b09f682bbfa3445)

Author SHA1 Message Date
Radek Simko 9867ce4dde
helper/schema: Disallow validation+diff suppression on computed-only fields
9 years ago
James Bardin caadb4297f make sure a computed list is can be RequiresNew
9 years ago
Sander van Harmelen 3d0073e05c core: fix a crash by suggesting a different approach to solve #11170 (#13541)
9 years ago
James Bardin 735dfc416d Merge pull request #13427 from hashicorp/jbardin/context-keys
9 years ago
Martin Atkins a0269c688c helper/schema: Clarify the expectations for DefaultFunc
9 years ago
James Bardin 812f9fb253 don't use primitive types for context value keys
9 years ago
James Bardin 2e6a44d5ff reify the list values before validation
9 years ago
James Bardin efd0f5b0db Fix logic when skipping schema input
9 years ago
Radek Simko 1df1c21d5b schema: Allow *Resource as Elem of TypeMap in validation (#12722)
9 years ago
Radek Simko afd34f79df schema: Enable map value validation (#12638)
9 years ago
Clint 3fdeacdca7 helper/schema: Rename Timeout resource block to Timeouts (#12533)
9 years ago
Clint 2fe5976aec helper/schema: Add configurable Timeouts (#12311)
9 years ago
James Bardin 7359a18a71 Make sure to diff all nested schema.Set elements
9 years ago
Mitchell Hashimoto 61881d2795 Merge pull request #10934 from hashicorp/f-provisioner-stop
9 years ago
Radek Simko d5ac48de2a helper/schema: Remove missed subfields when parent list is removed (#11498)
9 years ago
Mitchell Hashimoto 487a37b0dd
helper/schema: PromoteSingle for legacy support of "maybe list" types
9 years ago
Conor Mongey 77c8683281 provider/vault: Remove user input for optional vault provider fields (#11082)
9 years ago
clint shryock 6bafd4c896 fix typo
9 years ago
Mitchell Hashimoto 39542898b0
helper/schema: mark diff as forcenew if element is computed
10 years ago
Mitchell Hashimoto e45debe0e5
helper/schema: only mark "ForceNew" on resources that cause the ForceNew
10 years ago
Mitchell Hashimoto 65b17ccd06
helper/schema: allow ConflictsWith and Computed Optional fields
10 years ago
Mitchell Hashimoto 2d84582881 Merge pull request #9699 from hashicorp/b-removed-forcenew
10 years ago
Mitchell Hashimoto 5489d8c549
helper/schema: removed optional items force new
10 years ago
Mitchell Hashimoto 95d37ea79c
helper/schema,terraform: handle computed primtives in diffs
10 years ago
stack72 5a537cdbf9
helper/schema: Adding of MinItems as a validation to Lists and Maps
10 years ago
James Nugent e0226c9039 core: Check for attrV being nil before dereference
10 years ago
James Nugent 85ec09111b helper/schema: Add diff suppression callback
10 years ago
James Nugent 074545e536 core: Use .% instead of .# for maps in state
10 years ago
James Nugent 91587a49f3 core: Remove unnecessary debug logging
10 years ago
Chris Marchesi 9d7fb89114 core: Adding Sensitive attribute to resource schema
10 years ago
Sander van Harmelen 8560f50cbc
Change taint behaviour to act as a normal resource
10 years ago
Martin Atkins 6a468dcd83 helper/schema: Resource can be writable or not
10 years ago
James Nugent 7b6df27e4a helper/schema: Read native maps from configuration
10 years ago
Paul Hinze b4df304b47
helper/schema: Normalize bools to "true"/"false" in diffs
10 years ago
Chris Marchesi 8c5354b7dc Add MaxItems attribute to Schema
10 years ago
Paul Hinze 99244c5597 helper/schema: skip provider input for deprecated fields
11 years ago
Paul Hinze f1e7cec566 Merge pull request #3992 from svanharmelen/f-change-sets
11 years ago
Sander van Harmelen ef4726bd50 Change Set internals and make (extreme) performance improvements
11 years ago
Paul Hinze c7dc1c10a3 helper/schema: skip StateFunc when value is nil
11 years ago
Martin Atkins a67182543c Nicer error when list/map assigned to string argument.
11 years ago
Paul Hinze 2a179d1065 helper/schema: ValidateFunc support for maps
11 years ago
Panagiotis Moustafellos e4845f75cc removed extra parentheses
11 years ago
Martin Atkins cc8e8a55de helper/schema: Default hashing function for sets
11 years ago
Anthony Scalisi 198e1a5186 remove various typos
11 years ago
Mitchell Hashimoto 0100d4139b helper/schema: clean up style
11 years ago
Mitchell Hashimoto 6e509aedcb helper/schema: diff should include removed set items [GH-1823]
11 years ago
Radek Simko 6fdbca8e58 Merge pull request #2466 from TimeIncOSS/f-schema-field-name-validate
11 years ago
Radek Simko 92db4802b6 schema: Add field name to ValidateFunc
11 years ago
Mitchell Hashimoto 4f391902a0 helper/schema: validate objects are objects [GH-2166]
11 years ago
Paul Hinze a4912cc51f helper/schema: limit ValidateFunc to primitives for now
11 years ago