Commit Graph

130 Commits (e2b6ccad8a755fb9ea1b32fb71eec02216438111)

Author SHA1 Message Date
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
Paul Hinze 49352db26f helper/schema: skip ValidateFunc on other errors
11 years ago
Paul Hinze 61fee6735d helper/schema: ValidateFunc
11 years ago
Sam Boyer b82bd0c280 Condense switch fallthroughs into expr lists
11 years ago
Paul Hinze 1e3d1b07e6 helper/schema: validate ConflictsWith against top-level
11 years ago
Mitchell Hashimoto 707aa36aec helper/schema: only use ~ on first char of code
11 years ago
Mitchell Hashimoto 1f46bc1926 helper/schema: validate unknown fields with computed values [GH-1507]
11 years ago
Mitchell Hashimoto 3176e5b44a Merge pull request #1595 from TimeIncOSS/aws-account-protection
11 years ago
Mitchell Hashimoto 54e3e6104e Merge pull request #1594 from TimeIncOSS/schema-conflicts-with
11 years ago
Mitchell Hashimoto 51951d68f4 helper/schema: change diff logic around maps to fix case #57 and #44
11 years ago
Radek Simko 150fd00932 AWS account ID protection added
11 years ago
Radek Simko 34f48b3e06 Add schema.ConflictsWith[]
11 years ago
Radek Simko e0df74c863 Add schema.ConflictsWith[]
11 years ago
Paul Hinze ef70c8cae5 helper/schema: allow Schema attrs to be Removed
11 years ago
Paul Hinze 888f16d2d3 helper/schema: allow Schema attrs to be Deprecated
11 years ago
Mitchell Hashimoto 17680bb7ff helper/schema: some more test cases, revert some weird behavior from
11 years ago
Mitchell Hashimoto 659a77c6ae helper/schema: validate subresources more effectively
11 years ago
Mitchell Hashimoto fa7f496bef helper/schema: zero value of a set should be empty
11 years ago
Mitchell Hashimoto 5c06cc386a helper/schema: empty map values should show up in diff [GH-968]
11 years ago
Mitchell Hashimoto dbfb95fcd5 helper/schema: show in diff when no config is going to empty set
11 years ago
Mitchell Hashimoto bcdec738d4 helper/schema: default the new value to zero only for the decode
11 years ago
Mitchell Hashimoto b778a65a83 helper/schema: diff of zero value in state with lack of value should not
11 years ago
Clint Shryock 4c7b732dad typo
11 years ago
INADA Naoki 33aa9d3ee8 Fix stringer error on helper/schema/schema.go
11 years ago
Dave Cunningham 18c26cb2eb Add some missing Float cases
11 years ago
Paul Hinze 5d4e69cc80 helper/schema: apply schema defaults at the field level when reading from config
11 years ago