Commit Graph

94 Commits (e024960c745f0a464cb081d04765d93f94deaba0)

Author SHA1 Message Date
Brian Flad 3d908f56aa
helper/schema: Add deprecation to ResourceData.UnsafeSetFieldRaw
7 years ago
James Bardin bc5eecd7f2 make sure id really gets set in SetId
7 years ago
James Bardin 3112b707be SetId should set the attribute as well
8 years ago
Sander van Harmelen 3e935c846f terraform/terraform_remote_state: accept complex configs
8 years ago
James Bardin 798df9dafa make sure ResourceData timeouts are always set
8 years ago
Chris Marchesi cb5ce1d35e
helper/schema: Extend diffChange and bubble up customized values
8 years ago
Radek Simko e93d64b18c
helper/schema: Opt-in panic on invalid ResourceData.Set
8 years ago
Jake Champlin 268138dbd4
Rename to GetOkExists
9 years ago
Jake Champlin 270bbdb19b
core: Add `GetOkRaw` schema function
9 years ago
Clint 2fe5976aec helper/schema: Add configurable Timeouts (#12311)
9 years ago
Mitchell Hashimoto 3342aa580c
terraform: InstanceState.Meta is value type interface{}
9 years ago
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
10 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
11 years ago
Sander van Harmelen 83c760fcb3 core: refactoring the way sets work internally v2
11 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