Commit Graph

563 Commits (e024960c745f0a464cb081d04765d93f94deaba0)

Author SHA1 Message Date
Martin Atkins 135121562e helper/plugin: Implement Schema.SkipCoreTypeCheck
7 years ago
Martin Atkins 7f860dc83e helper/schema: Schema.SkipCoreTypeCheck flag
7 years ago
Justin Downing 1e32ae243c grammatical updates to comments and docs (#20195)
7 years ago
Paul Tyng ea7e922007
oxford comma
7 years ago
Paul Tyng ec9450a262
Fix limitations on Elem for TypeMap
7 years ago
Martin Atkins 1987a92386 helper/schema: Implementation of the AsSingle mechanism
7 years ago
Martin Atkins 1c8150428f helper/schema: Schema.AsSingle flag
7 years ago
Martin Atkins 4de0b33097 helper/schema: Honor ConfigMode when building core schema
7 years ago
Martin Atkins a6d322edec helper/schema: ConfigMode field in *Schema
7 years ago
Sander van Harmelen 973e2a7cf9 core: add a context to the UIInput interface
7 years ago
James Bardin 2adf5801d9 don't panic of the users aborts backend input
7 years ago
James Bardin 37f391f1f7 insert defaults during Backend.PrepareConfig
7 years ago
James Bardin c814f2da37 Change backend.ValidateConfig to PrepareConfig
7 years ago
Brian Flad 3d908f56aa
helper/schema: Add deprecation to ResourceData.UnsafeSetFieldRaw
7 years ago
James Bardin 8be864c1c7 don't allow computed set elems to be equal
7 years ago
James Bardin 55b4307767 add proto5 feature flag
7 years ago
James Bardin 81a4e705b1 DiffSuppressFunc should noop diffs in sets
7 years ago
James Bardin 9cf8f48239 decode legacy timeouts
7 years ago
Paul Tyng bb9ae50279
Copy TF version to helper/schema provider
7 years ago
Martin Atkins ae0be75ae0 helper/schema: TypeMap of Resource is actually of TypeString
7 years ago
James Bardin bc5eecd7f2 make sure id really gets set in SetId
7 years ago
Martin Atkins 06acc3f6c8 helper/schema: Skip validation of unknown values
7 years ago
James Bardin 8ab5698e2a
Merge pull request #19587 from hashicorp/jbardin/safe-appends
7 years ago
James Bardin 3d6ec09a83
Merge pull request #19552 from olindata/bugfix/setting-sets-in-list
7 years ago
James Bardin b5de50c0a2 don't modify argument slices
7 years ago
Farid Neshat 44a45b7332 helper/schema: Fix setting a set in a list
7 years ago
Brian Flad 1e81a3e7fa
helper/schema: Always propagate NewComputed for previously zero value primative type attributes
7 years ago
Martin Atkins 72e279e6b2 providers: Consistently use int64 for schema versions
7 years ago
Martin Atkins 58fa38b89a helper/schema: Update docs for PromoteSingle
7 years ago
Martin Atkins 3d54af9c09 helper/schema: Better mimic some undocumented behaviors in Core schema
7 years ago
Martin Atkins 37da625ee9 helper/schema: Tell Core attribute is optional if set conditionally
7 years ago
James Bardin 21dfa56766 use ShimInstanceStateFromValue in DiffFromValues
7 years ago
James Bardin df04e2e7a6 move InstanceState shim into schema.Resource
7 years ago
Radek Simko 0cbf745e5a
helper/schema: Avoid erroring out on undefined timeouts
7 years ago
Radek Simko 1cb8f1df80
helper/schema: Fix timeout parsing in ResourceTimeout.ConfigDecode
7 years ago
Radek Simko 82a77f9bb5
helper/schema: Add test for invalid timeout value
7 years ago
Radek Simko 2fe3f16cb3
helper/schema: Return error on invalid timeout type
7 years ago
Radek Simko 186a6dcc38
helper/schema: Add test for wrong timeout type
7 years ago
James Bardin f153720a36 add checks for timeouts attributes and blocks
7 years ago
James Bardin 6dad121e70 insert resource timeouts into the config schema
7 years ago
James Bardin d50a152f8b check for a nil diff in simpleDiff
8 years ago
James Bardin ff4e81cc2b add old values when computing the new InstanceDiff
8 years ago
James Bardin 38163f2b37 use SimpleDiff and set "id" as RequiresReplace
8 years ago
James Bardin 46b4c27dbe create a SimpleDiff for the new provider shims
8 years ago
James Bardin 0d4d572c39 start work on helper/resource test fixtures
8 years ago
Martin Atkins 33151f5011 core: Move StateValueFromInstanceState shim from helper/schema
8 years ago
Martin Atkins 76d11f44cc core: Move some of the helper/schema shims so provider mock can use them
8 years ago
James Bardin a87470cc15 resource ids must always have a value
8 years ago
James Bardin b88410984b legacy provider needs to handle StateUpgraders
8 years ago
James Bardin dcaf5aa262 add some of the shims used for the grpc provider
8 years ago