Commit Graph

83 Commits (03f6c650ca9e78fc0d80d430ca1ec2a52c262da4)

Author SHA1 Message Date
James Nugent dbf725bd68 core: Allow dynamic attributes in helper/schema
10 years ago
Sander van Harmelen 8560f50cbc
Change taint behaviour to act as a normal resource
10 years ago
Mitchell Hashimoto b728e55861
helper/schema: Resource.Data should set latest schema version
10 years ago
Mitchell Hashimoto 1685054a9a
helper/schema: cleaner way to store Ephemeral
10 years ago
Radek Simko 4c6ceef9b8 helper/schema: Allow identification of a new resource in update func
10 years ago
Sander van Harmelen ef4726bd50 Change Set internals and make (extreme) performance improvements
11 years ago
Mitchell Hashimoto 58a8776c41 helper/schema: test real nil pointer to ResourceData.Set
11 years ago
Mitchell Hashimoto c030148259 helper/schema: allow pointer values to ResourceData.Set
11 years ago
Mitchell Hashimoto 7d32c8946a helper/schema: GetOk now only returns true if set to non-zero value
11 years ago
Mitchell Hashimoto e04def93e6 Merge pull request #991 from hashicorp/b-autoscale-lc-update
11 years ago
Mitchell Hashimoto 5a64d0900b providers/aws: test for allowing in-place lC update
11 years ago
Mitchell Hashimoto 66f7731995 helper/schema: GetChange shouldn't return true when no change
11 years ago
Mitchell Hashimoto 2212d6895d helper/schema: diff with set going to 0 elements removes it from state
11 years ago
Mitchell Hashimoto 87948b68fc helper/schema: use interface for equality check
11 years ago
Sander van Harmelen c7550595a3 Fixing two related bugs in HasChange and GetChange
11 years ago
Mitchell Hashimoto 4d067f4d6d helper/schema: don't put things into the state that don't exist or are
11 years ago
Mitchell Hashimoto db02541d31 helper/schema: fix failing tests
11 years ago
Mitchell Hashimoto 3cbcafe989 helper/schema: remove unused field
11 years ago
Mitchell Hashimoto 9ab128899a helper/schema: make the getSource enum easier
11 years ago
Mitchell Hashimoto d89446391a helper/schema: make the get API cleaner
11 years ago
Mitchell Hashimoto 3c1b55a75f helper/schema: use the field reader/writer for state
11 years ago
Mitchell Hashimoto e77b2b17c4 helper/schema: remove unused method
11 years ago
Mitchell Hashimoto 03c6453a72 helper/schema: FieldWriter, replace Set
11 years ago
Mitchell Hashimoto e57f3f69b1 helper/schema: empty maps, support reading objects directly
11 years ago
Mitchell Hashimoto f0af1c36f5 helper/schema: nested resource fields should be zero-valued on get
11 years ago
Mitchell Hashimoto 942a988ac2 helper/schema: zero value of a set should be a set
11 years ago
Mitchell Hashimoto b4bf813151 helper/schema: too big to fail
11 years ago
Sander van Harmelen 40fa6c3aaa Fixed a type and reordered the case statements
12 years ago
Sander van Harmelen 83c760fcb3 core: refactoring the way sets work internally v2
12 years ago
Mitchell Hashimoto 61811fce23 helper/schema: remove debug info
12 years ago
Mitchell Hashimoto f63a5d24e9 helper/schema: diffs for sets should include the full set [GH-457]
12 years ago
Mitchell Hashimoto d1324678dd helper/schema: setting empty map works [GH-464]
12 years ago
Mitchell Hashimoto 17d1bb7dde Revert "Merge pull request #422 from svanharmelen/f-shaving-off-some-cpu-cycles"
12 years ago
Mitchell Hashimoto 428cce2478 Merge pull request #422 from svanharmelen/f-shaving-off-some-cpu-cycles
12 years ago
Mitchell Hashimoto 5390357e45 helper/schema: sets properly take into account the diff
12 years ago
Sander van Harmelen e003334429 Shaving off some unneeded calls, saving CPU cycles
12 years ago
Mitchell Hashimoto 59349cca11 helper/schema: sets must be treated atomically within ResourceData
12 years ago
Mitchell Hashimoto 3a107d2e50 helper/schema: set the field to empty if it is a list and computed
12 years ago
Mitchell Hashimoto e5d64318bf helper/schema: don't say that a set is computed if it exists
12 years ago
Mitchell Hashimoto e0994c717d helper/schema: fix issues around computed sets
12 years ago
Mitchell Hashimoto dcaf653d6f helper/schema: properly detect that a list is computed
12 years ago
Mitchell Hashimoto 00bdef3093 providers/aws: test tag removal
12 years ago
Mitchell Hashimoto 6eafac8a34 providers/aws: aws_vpc supports tags
12 years ago
Mitchell Hashimoto f43528957e helper/schema: support top-level TypeMap
12 years ago
Mitchell Hashimoto 0db9d98fff helper/schema: can set Partial(true) multiple times
12 years ago
Mitchell Hashimoto 9b2b3a963f ResourceDiff => InstanceDiff
12 years ago
Mitchell Hashimoto 81d9d70296 helper/schema: conforms to new API, tests pass
12 years ago
Mitchell Hashimoto faa4e75960 helper/schema: Get on computed diff should be empty
12 years ago
Mitchell Hashimoto 0c9b65f3f4 helper/schema: documentation
12 years ago
Mitchell Hashimoto 87a488092c helper/schema: support partial states
12 years ago