Commit Graph

50 Commits (9b6fcc4e86556590df67fd9d02fa504fc8a3a5f2)

Author SHA1 Message Date
Alex Pilon 4bf43efcfd
move hcl2shim package to configs
7 years ago
Alex Pilon 83aa07f907
prune NewResourceConfig and update tests
7 years ago
Radek Simko 1cb8f1df80
helper/schema: Fix timeout parsing in ResourceTimeout.ConfigDecode
8 years ago
James Bardin b88410984b legacy provider needs to handle StateUpgraders
8 years ago
James Bardin 7d24936507 updates to teh StateUpgraders
8 years ago
James Bardin 0c33b26e04 StateUpgrade redux
8 years ago
James Bardin 9eef5e3f91 implement UpgradeState for schema.Resource
8 years ago
Paddy Carver b7d19e40f8 Deprecated -> DeprecationMessage.
8 years ago
Paddy Carver 0dd2408d65 Export resource deprecation.
8 years ago
James Bardin 798df9dafa make sure ResourceData timeouts are always set
8 years ago
Chris Marchesi 0c0ae3ca7c helper/schema: CustomizeDiff allowed on writable resources only
9 years ago
Chris Marchesi 529d7e6dae helper/schema: Review -> CustomizeDiff
9 years ago
Chris Marchesi c6647a3bb7 helper/schema: CustomizeDiff -> Review
9 years ago
Chris Marchesi fa1fc2ca8e helper/schema: CustomizeDiff invocation test
9 years ago
Chris Marchesi 8af9610b87 helper/schema: Hook CustomizeDiffFunc into diff logic
9 years ago
Radek Simko 7fceccfbf7
helper/schema: Loosen validation for 'id' field
9 years ago
Radek Simko 07cbd54fbc Actively disallow reserved field names in schema (#15522)
9 years ago
clint shryock 11dc0c5fdf Regression test for #767 (https://github.com/hashicorp/terraform/issues/14444)
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
Mitchell Hashimoto 3342aa580c
terraform: InstanceState.Meta is value type interface{}
9 years ago
Mitchell Hashimoto f7a234bc71
helper/schema: validate Read, Delete are set
10 years ago
James Nugent 074545e536 core: Use .% instead of .# for maps in state
10 years ago
Martin Atkins 6a468dcd83 helper/schema: Resource can be writable or not
10 years ago
Mitchell Hashimoto b728e55861
helper/schema: Resource.Data should set latest schema version
10 years ago
Mitchell Hashimoto b8121ea63e
helper/schema: Resource.Data to return a ResourceData for a Resource
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
Justin Campbell bb14bfa657 helper/schema: call InternalValidate w/ schemaMap{}
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 466a54cfe4 Merge pull request #766 from hashicorp/f-exists-api
11 years ago
Mitchell Hashimoto 448887f3c4 helper/schema: map counts in state
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 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 7f14708e71 helper/schema: list ForceNew
12 years ago
Mitchell Hashimoto 01b6b5f48e helper/schema: initial work
12 years ago