terraform/helper/schema
Emil Hessman 2bc612e6f8 helper/schema: fix panic when validating composite type
Don't check if the root key is being computed for composite types.
Instead, continue recursing the composite type in order to check if
the sub-key, key.N, for each individual element is being computed.

Fixes a panic which occurs when validating a composite type where
the value is an unknown kind for the schema.
2015-01-13 06:59:05 +01: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: remove unused field 2015-01-10 12:50:53 -08:00
resource_data_test.go helper/schema: use the field reader/writer for state 2015-01-10 12:18:32 -08: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: fix panic when validating composite type 2015-01-13 06:59:05 +01:00
schema_test.go helper/schema: fix panic when validating composite type 2015-01-13 06:59:05 +01: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.