terraform/helper/schema
Paul Hinze 5d4e69cc80 helper/schema: apply schema defaults at the field level when reading from config
We were waiting until the higher-level (m schemaMap) diffString method
to apply defaults, which was messing with set hashcode evaluation for
cases when a field with a default is included in the hash function.

fixes #824
2015-01-27 18:18:57 -06:00
..
README.md helper/schema: README 2014-08-17 20:51:09 -07:00
equal.go helper/schema: use interface for equality check 2015-01-16 09:32:15 -08:00
field_reader.go helper/schema: add float type 2015-01-10 16:04:01 -08:00
field_reader_config.go helper/schema: apply schema defaults at the field level when reading from config 2015-01-27 18:18:57 -06:00
field_reader_config_test.go helper/schema: apply schema defaults at the field level when reading from config 2015-01-27 18:18:57 -06: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: map counts in state 2015-01-15 14:12:24 -08:00
field_reader_map_test.go helper/schema: map counts in state 2015-01-15 14:12:24 -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 Just my OCD playing up 😉 2015-01-16 13:30:11 +01:00
field_writer_map_test.go helper/schema: add test for GH-814 2015-01-16 08:37:25 -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: Exists API 2015-01-10 15:39:29 -08:00
resource_data.go helper/schema: use interface for equality check 2015-01-16 09:32:15 -08:00
resource_data_test.go Fixing two related bugs in HasChange and GetChange 2015-01-16 14:13:40 +01:00
resource_test.go Merge pull request #766 from hashicorp/f-exists-api 2015-01-16 10:56:25 -08:00
schema.go helper/schema: apply schema defaults at the field level when reading from config 2015-01-27 18:18:57 -06:00
schema_test.go helper/schema: apply schema defaults at the field level when reading from config 2015-01-27 18:18:57 -06:00
set.go helper/schema: use interface for equality check 2015-01-16 09:32:15 -08:00
set_test.go Sets should init only once... 2015-01-15 15:33:52 +01: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.