terraform/helper/schema
Martin Atkins 33151f5011 core: Move StateValueFromInstanceState shim from helper/schema
This one doesn't depend on any helper/schema specific bits and it'll also
be useful for the shims in our mock provider in core.
2018-10-16 19:14:11 -07:00
..
README.md
backend.go move "configschema" from "config" to "configs" 2018-10-16 18:50:29 -07:00
backend_test.go backend: Update interface and implementations for new config loader 2018-10-16 18:39:12 -07:00
core_schema.go only add "id" to top-level resources 2018-10-16 18:53:51 -07:00
core_schema_test.go legacy provider needs to handle StateUpgraders 2018-10-16 18:56:50 -07:00
data_source_resource_shim.go
equal.go
field_reader.go
field_reader_config.go
field_reader_config_test.go
field_reader_diff.go
field_reader_diff_test.go
field_reader_map.go
field_reader_map_test.go
field_reader_multi.go
field_reader_multi_test.go
field_reader_test.go
field_writer.go
field_writer_map.go
field_writer_map_test.go
getsource_string.go
provider.go move "configschema" from "config" to "configs" 2018-10-16 18:50:29 -07:00
provider_test.go use a custom comparer for cty.Type 2018-10-16 18:50:57 -07:00
provisioner.go move "configschema" from "config" to "configs" 2018-10-16 18:50:29 -07:00
provisioner_test.go
resource.go legacy provider needs to handle StateUpgraders 2018-10-16 18:56:50 -07:00
resource_data.go SetId should set the attribute as well 2018-10-16 18:50:57 -07:00
resource_data_get_source.go
resource_data_test.go SetId should set the attribute as well 2018-10-16 18:50:57 -07:00
resource_diff.go
resource_diff_test.go
resource_importer.go
resource_test.go legacy provider needs to handle StateUpgraders 2018-10-16 18:56:50 -07:00
resource_timeout.go
resource_timeout_test.go
schema.go add schema.InternalMap 2018-10-16 18:53:51 -07:00
schema_test.go
serialize.go
serialize_test.go
set.go
set_test.go
shims.go core: Move StateValueFromInstanceState shim from helper/schema 2018-10-16 19:14:11 -07:00
shims_test.go resource ids must always have a value 2018-10-16 19:14:11 -07:00
testing.go
valuetype.go
valuetype_string.go

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.