You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/helper/schema
Martin Atkins 33151f5011
core: Move StateValueFromInstanceState shim from helper/schema
8 years ago
..
README.md
backend.go move "configschema" from "config" to "configs" 8 years ago
backend_test.go backend: Update interface and implementations for new config loader 8 years ago
core_schema.go only add "id" to top-level resources 8 years ago
core_schema_test.go legacy provider needs to handle StateUpgraders 8 years ago
data_source_resource_shim.go Deprecated -> DeprecationMessage. 8 years ago
equal.go
field_reader.go helper/schema: handle TypeMap elem consistently with other collection types 8 years ago
field_reader_config.go helper/schema: handle TypeMap elem consistently with other collection types 8 years ago
field_reader_config_test.go helper/schema: handle TypeMap elem consistently with other collection types 8 years ago
field_reader_diff.go helper/schema: handle TypeMap elem consistently with other collection types 8 years ago
field_reader_diff_test.go helper/schema: handle TypeMap elem consistently with other collection types 8 years ago
field_reader_map.go helper/schema: handle TypeMap elem consistently with other collection types 8 years ago
field_reader_map_test.go helper/schema: handle TypeMap elem consistently with other collection types 8 years ago
field_reader_multi.go
field_reader_multi_test.go
field_reader_test.go helper/schema: handle TypeMap elem consistently with other collection types 8 years ago
field_writer.go
field_writer_map.go
field_writer_map_test.go
getsource_string.go
provider.go move "configschema" from "config" to "configs" 8 years ago
provider_test.go use a custom comparer for cty.Type 8 years ago
provisioner.go move "configschema" from "config" to "configs" 8 years ago
provisioner_test.go
resource.go legacy provider needs to handle StateUpgraders 8 years ago
resource_data.go SetId should set the attribute as well 8 years ago
resource_data_get_source.go
resource_data_test.go SetId should set the attribute as well 8 years ago
resource_diff.go Don't allow sub-blocks for SetNew. 8 years ago
resource_diff_test.go Add tests to ensure clearing sub-blocks works. 8 years ago
resource_importer.go
resource_test.go legacy provider needs to handle StateUpgraders 8 years ago
resource_timeout.go
resource_timeout_test.go Fix drift caused from gofmt when running make dev and go 1.11. 8 years ago
schema.go add schema.InternalMap 8 years ago
schema_test.go Fix drift caused from gofmt when running make dev and go 1.11. 8 years ago
serialize.go
serialize_test.go
set.go Add a HashInt helper/schema function 8 years ago
set_test.go
shims.go core: Move StateValueFromInstanceState shim from helper/schema 8 years ago
shims_test.go resource ids must always have a value 8 years ago
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.