Commit Graph

37 Commits (cdcff09d99d8d1a0142f583f7fab650ca54e781d)

Author SHA1 Message Date
Martin Atkins 6cd22a4c9a helper/schema: emit warning when using data source resource shim
10 years ago
Martin Atkins 6a468dcd83 helper/schema: Resource can be writable or not
10 years ago
Martin Atkins 0e0e3d73af core: New ResourceProvider methods for data resources
10 years ago
Mitchell Hashimoto b728e55861
helper/schema: Resource.Data should set latest schema version
10 years ago
Mitchell Hashimoto 19609bde0e
helper/schema: can specify Importer on Resource, InternalValidate
10 years ago
Mitchell Hashimoto b8121ea63e
helper/schema: Resource.Data to return a ResourceData for a Resource
10 years ago
Radek Simko 8bdd92187c Merge pull request #4446 from TimeIncOSS/f-schema-new-resource
10 years ago
Paul Hinze c70eab6500 aws: undeprecate min_elb_capacity; restore min capacity waiting
10 years ago
Radek Simko 4c6ceef9b8 helper/schema: Allow identification of a new resource in update func
10 years ago
Panagiotis Moustafellos e4845f75cc removed extra parentheses
11 years ago
Radek Simko 641b701830 schema: Make validation more strict
11 years ago
Paul Hinze 7eb72e7a12 helper/schema: record schema version when destroy fails
11 years ago
Mitchell Hashimoto dd24ed4b76 helper/schema: blank ID refresh doesn't exist [GH-1905]
11 years ago
Paul Hinze 1e3d1b07e6 helper/schema: validate ConflictsWith against top-level
11 years ago
Paul Hinze 66dbf91ffd helper/schema: ensure ForceNew set when Update is not
11 years ago
Paul Hinze 3ba8ed536b helper/schema: record schema version on apply
11 years ago
Paul Hinze 3d4b55e557 helper/schema: schema versioning & migration
11 years ago
Mitchell Hashimoto 48b9614556 helper/schema: Exists API
11 years ago
Mitchell Hashimoto d0ce67a5b7 helper/schema: on destroy/create, reset state to be empty [GH-464]
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 c9a541d95b helper/schema: generate a full diff in destroy/create cycle
12 years ago
Mitchell Hashimoto 0c9b65f3f4 helper/schema: documentation
12 years ago
Mitchell Hashimoto 40e5608fa9 helper/schema: return the prior state if Data is an error
12 years ago
Mitchell Hashimoto 37cf52fa27 helper/schema: if no ID is set then return nil
12 years ago
Mitchell Hashimoto 5fc41cc272 helper/schema: properly put "id" into attributes
12 years ago
Mitchell Hashimoto 021a23fe99 helper/schema: if update sets the ID to blank, it deletes the resource
12 years ago
Mitchell Hashimoto 2444986fe8 helper/schema: nice error if update isn't supported
12 years ago
Mitchell Hashimoto c418681cc3 helper/schema: create/update/delete should work for Resource
12 years ago
Mitchell Hashimoto 894187ec18 helper/schema: Resource.Refresh
12 years ago
Mitchell Hashimoto 51a44db6c2 helper/schema: move InternalValidate to schemaMap
12 years ago
Mitchell Hashimoto a33e4bcdf0 helper/schema: properly validate sub-resources
12 years ago
Mitchell Hashimoto 7bc0be4b81 helper/schema: couple more tests around Computed (+ fix)
12 years ago
Mitchell Hashimoto 4af387b986 helper/schema: validation
12 years ago
Mitchell Hashimoto 31067ee8f6 helper/schema: ResourceData, starting tests
12 years ago
Mitchell Hashimoto 7f14708e71 helper/schema: list ForceNew
12 years ago
Mitchell Hashimoto 01b6b5f48e helper/schema: initial work
12 years ago