Commit Graph

903 Commits (643fccc92377f85d688502ae0c19df7d3100d47c)

Author SHA1 Message Date
James Bardin ae1f93a24f
Merge pull request #19236 from hashicorp/jbardin/resource-tests
8 years ago
James Bardin a5ef403dfd skip resource tests for now
8 years ago
James Bardin 718a3c400a fix state variable name
8 years ago
James Bardin e0ea2a5d06 if there is no plan diff, prefer the prior state
8 years ago
James Bardin f153720a36 add checks for timeouts attributes and blocks
8 years ago
James Bardin e38a5a769d copy timouts into plan and apply state
8 years ago
James Bardin 6dad121e70 insert resource timeouts into the config schema
8 years ago
James Bardin dbaf347392
Merge pull request #19136 from hashicorp/jbardin/simple-diff
8 years ago
Brian Flad 62bf23850b
Merge pull request #19122 from hashicorp/f-helper-validation-Any
8 years ago
James Bardin d50a152f8b check for a nil diff in simpleDiff
8 years ago
Brian Flad 46804080aa
helper/validation: Add Any() SchemaValidateFunc
8 years ago
James Bardin ff4e81cc2b add old values when computing the new InstanceDiff
8 years ago
James Bardin a8f75bc554 don't set defaults for deprecated or removed
8 years ago
James Bardin e077c9ce95 Insert default values into provider config
8 years ago
James Bardin a3ac49b3fb GRPCProviderServer and PrepareProviderconfig
8 years ago
Sander van Harmelen 48ef7ecfa6 Updates after running `make fmt` with Go v1.11.1
8 years ago
Brian Flad 17ac9a5756
helper/validation: Add All() and IntInSlice() SchemaValidateFunc
8 years ago
James Bardin 1ab96f42b7 fail nonfunctional resource tests
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
James Bardin f8b1a3c7a4 make sure apply can properly destroy
8 years ago
James Bardin 52c0032aed update provisioners for multiple processes
8 years ago
James Bardin caf74a218d initialize empty diff in apply
8 years ago
James Bardin 0b8c38207a a plan with no diff should return proposed state
8 years ago
Radek Simko d93b462e9c helper/plugin: don't panic in ReadDataSource State
8 years ago
Martin Atkins 1908aff476 helper/resource: Fix duplicated function testConfig
8 years ago
Radek Simko 2de0903538 Fix data source bug
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
Martin Atkins 97da905c6e helper/plugin: ReadResource to deal with missing remote object
8 years ago
Martin Atkins a7342de274 core: Properly handle no-op changes in plan
8 years ago
Martin Atkins c27f900d92 helper/plugin: Don't panic while preparing response in ApplyResourceChange
8 years ago
Martin Atkins 686018ae12 helper/plugin: don't panic in PlanResourceChange PlannedState
8 years ago
Martin Atkins 44bc7519a6 terraform: More wiring in of new provider types
8 years ago
James Bardin c07ce1cd4b move conversion functions into separate package
8 years ago
Martin Atkins a3403f2766 terraform: Ugly huge change to weave in new State and Plan types
8 years ago
James Bardin 7188d5cbfe add grpc shims to helper/plugin
8 years ago
James Bardin 63dcdbe948 helper/plugin package for grpc servers
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
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
James Bardin bcc8be7400 add schema.InternalMap
8 years ago
James Bardin 0120d53baf only add "id" to top-level resources
8 years ago
James Bardin 15ccf2dda5 use a custom comparer for cty.Type
8 years ago
James Bardin 3112b707be SetId should set the attribute as well
8 years ago
James Bardin befa81c74f add implicit "id" to resource attribute schemas
8 years ago