terraform/helper/schema
Mitchell Hashimoto db02541d31 helper/schema: fix failing tests
/cc @svanharmelen - I think some logic changed after my refactor. I now
return Exists: true when Computed: true but the value might be blank to
note that the FieldReader FOUND a value, its just unknown. I think
before it didn't do that so the logic for GetOk has to be "does it exist
and is it _not_ computed"

Seems weird because I just realized there is no way to get the OLD value
of something if it is being computed now, but I looked and there are
tests that verify this and they're like... test #5 of Get. So, they're
not new meaning that must've been expected behavior? Hm. Let me know if
you find any other issues from acceptance tests
2015-01-14 15:38:18 -08:00
..
README.md helper/schema: README 2014-08-17 20:51:09 -07:00
field_reader.go helper/schema: add float type 2015-01-10 16:04:01 -08:00
field_reader_config.go helper/schema: add float type 2015-01-10 16:04:01 -08:00
field_reader_config_test.go helper/schema: add float type 2015-01-10 16:04:01 -08:00
field_reader_diff.go helper/schema: add float type 2015-01-10 16:04:01 -08:00
field_reader_diff_test.go helper/schema: add float type 2015-01-10 16:04:01 -08:00
field_reader_map.go helper/schema: add float type 2015-01-10 16:04:01 -08:00
field_reader_map_test.go helper/schema: add float type 2015-01-10 16:04:01 -08:00
field_reader_multi.go helper/schema: full object test for addrToSchema 2015-01-09 17:43:44 -08:00
field_reader_multi_test.go helper/schema: too big to fail 2015-01-08 18:02:19 -08:00
field_reader_test.go helper/schema: add float type 2015-01-10 16:04:01 -08:00
field_writer.go helper/schema: FieldWriter, replace Set 2015-01-10 11:44:26 -08:00
field_writer_map.go helper/schema: FieldWriter, replace Set 2015-01-10 11:44:26 -08:00
field_writer_map_test.go helper/schema: more tests 2015-01-10 11:49:37 -08:00
provider.go helper/schema: Input support 2014-09-29 10:25:43 -07:00
provider_test.go Fix go vet complaints 2014-08-24 21:50:35 -07:00
resource.go helper/schema: on destroy/create, reset state to be empty [GH-464] 2014-10-21 00:28:53 -07:00
resource_data.go helper/schema: fix failing tests 2015-01-14 15:38:18 -08:00
resource_data_test.go Adding a test for issue #791 2015-01-14 20:50:58 +01:00
resource_test.go helper/schema: on destroy/create, reset state to be empty [GH-464] 2014-10-21 00:28:53 -07:00
schema.go helper/schema: diff floats properly 2015-01-14 09:32:03 -08:00
schema_test.go helper/schema: fix failing tests 2015-01-14 15:38:18 -08:00
set.go helper/schema: GoString for Set 2015-01-08 11:33:15 -08:00
set_test.go fmt 2014-08-20 22:24:35 -07:00
valuetype_string.go helper/schema: add TypeFloat and Zero value 2015-01-10 15:57:06 -08:00

README.md

Terraform Helper Lib: schema

The schema package provides a high-level interface for writing resource providers for Terraform.

If you're writing a resource provider, we recommend you use this package.

The interface exposed by this package is much friendlier than trying to write to the Terraform API directly. The core Terraform API is low-level and built for maximum flexibility and control, whereas this library is built as a framework around that to more easily write common providers.