Commit Graph

409 Commits (551eedcf2616376b00d7da170b09f682bbfa3445)

Author SHA1 Message Date
Radek Simko 9867ce4dde
helper/schema: Disallow validation+diff suppression on computed-only fields
9 years ago
James Bardin 9aaf220efb Merge pull request #13863 from hashicorp/jbardin/computed-list-requires-new
9 years ago
James Bardin caadb4297f make sure a computed list is can be RequiresNew
9 years ago
Martin Atkins b1763e262a Restore stringer-generated files back to new version
9 years ago
Jasmin Gacic 61499cfcf0 Provider Oneandone (#13633)
9 years ago
Sander van Harmelen 3d0073e05c core: fix a crash by suggesting a different approach to solve #11170 (#13541)
9 years ago
James Bardin 735dfc416d Merge pull request #13427 from hashicorp/jbardin/context-keys
9 years ago
Martin Atkins a0269c688c helper/schema: Clarify the expectations for DefaultFunc
9 years ago
James Bardin 8a1089a161 convert the other context keys to the correct type
9 years ago
James Bardin 812f9fb253 don't use primitive types for context value keys
9 years ago
Martin Atkins 21cd5595e2 Update stringer-generated files to new boilerplate
9 years ago
James Bardin 2e6a44d5ff reify the list values before validation
9 years ago
James Bardin 99a12f5df3 interpolation strings were beeing validated
9 years ago
James Bardin efd0f5b0db Fix logic when skipping schema input
9 years ago
Radek Simko 1df1c21d5b schema: Allow *Resource as Elem of TypeMap in validation (#12722)
9 years ago
Radek Simko afd34f79df schema: Enable map value validation (#12638)
9 years ago
Clint 3fdeacdca7 helper/schema: Rename Timeout resource block to Timeouts (#12533)
9 years ago
James Bardin ecb1944c31 Merge pull request #12498 from hashicorp/jbardin/test-reset
9 years ago
James Bardin 1d9d7be28c Add schema.Provider.TestReset method
9 years ago
clint shryock aa3677cd89 helper/schema: Guard against a panic if Timeout is not properly
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 c6d0333dc0
flatmap: mark computed list as a computed value in Expand
9 years ago
James Bardin 7359a18a71 Make sure to diff all nested schema.Set elements
9 years ago
Mitchell Hashimoto 61881d2795 Merge pull request #10934 from hashicorp/f-provisioner-stop
9 years ago
Radek Simko d5ac48de2a helper/schema: Remove missed subfields when parent list is removed (#11498)
9 years ago
Mitchell Hashimoto 487a37b0dd
helper/schema: PromoteSingle for legacy support of "maybe list" types
9 years ago
Mitchell Hashimoto 3c0c81957a
provisioners/remote-exec: switch to helper/schema
9 years ago
Mitchell Hashimoto a2e044829b
provisioners/file: use the old communicator.New just to minimize risk
9 years ago
Mitchell Hashimoto a1da59a73e
helper/schema: provisioner allows for nil state
9 years ago
Mitchell Hashimoto b2891bc9ef
helper/schema: Provisioner support
9 years ago
Mitchell Hashimoto 251e5c6f87
helper/schema: framework for Backends
9 years ago
Conor Mongey 77c8683281 provider/vault: Remove user input for optional vault provider fields (#11082)
9 years ago
clint shryock 6bafd4c896 fix typo
9 years ago
James Bardin 01be1a5ecd Check for interpolated values when reading a map
10 years ago
Mitchell Hashimoto 0634aada69
Revert "core: Ensure hasComputedSubKeys iterates over Sets and Lists properly"
10 years ago
Mitchell Hashimoto f2fcf1494a
Merge branch 'fix-field-reader-setsubkeys-computed' of https://github.com/vancluever/terraform into vancluever-fix-field-reader-setsubkeys-computed
10 years ago
Chris Marchesi 8d06d68d0f core: Backport NewComputed change to nested list/set tests
10 years ago
Chris Marchesi f258056731 core: Tests for hasComputedSubKeys fix
10 years ago
Chris Marchesi 4d8208d840 core: Ensure hasComputedSubKeys iterates over Sets and Lists properly
10 years ago
James Bardin c4eefd4b5e Allow primitive type in maps via all FieldReaders
10 years ago
James Bardin 730014b33e Convert the map fields values when reading diff
10 years ago
Radek Simko ad34f1ec74 Add (failing) test for map w/ non-string values
10 years ago
Mitchell Hashimoto 39542898b0
helper/schema: mark diff as forcenew if element is computed
10 years ago
Mitchell Hashimoto 15f50b86bf
helper/schema: passing tests for computed complex sets
10 years ago
Mitchell Hashimoto 29485f6167
terraform: ResourceConfig.IsComputed cases
10 years ago
Mitchell Hashimoto 5792b2cba2
helper/schema: convert _Diff to subtests
10 years ago
Mitchell Hashimoto 2b7177cfe7 Merge pull request #9607 from hashicorp/f-provider-stop-redo
10 years ago
Mitchell Hashimoto e45debe0e5
helper/schema: only mark "ForceNew" on resources that cause the ForceNew
10 years ago
Mitchell Hashimoto b7bee66df5
helper/schema: sort errors in helper/schema test for deterministic tests
10 years ago