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 ae85b26026
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 Revert "helper/schema: Make nested Set(s) in List(s) work" (#7436) 10 years ago
field_reader_test.go helper/schema: handle TypeMap elem consistently with other collection types 8 years ago
field_writer.go
field_writer_map.go helper/schema: Clear existing map/set/list contents before overwriting 9 years ago
field_writer_map_test.go helper/schema: Clear existing map/set/list contents before overwriting 9 years ago
getsource_string.go Update various files for new version of "stringer" 9 years ago
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 Refactor the provisioner validation function (#15273) 9 years ago
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 helper/schema: ResourceDiff ForceNew attribute correctness 8 years ago
resource_diff_test.go helper/schema: ResourceDiff ForceNew attribute correctness 8 years ago
resource_importer.go helper/schema: pass through import state func 10 years ago
resource_test.go legacy provider needs to handle StateUpgraders 8 years ago
resource_timeout.go helper/schema: Rename Timeout resource block to Timeouts (#12533) 9 years ago
resource_timeout_test.go helper/schema: Rename Timeout resource block to Timeouts (#12533) 9 years ago
schema.go add schema.InternalMap 8 years ago
schema_test.go helper/schema: ResourceDiff ForceNew attribute correctness 8 years ago
serialize.go core: Avoid crash on empty TypeSet blocks (#14305) 9 years ago
serialize_test.go Add test for TypeMap in a Schema 10 years ago
set.go Add a HashInt helper/schema function 8 years ago
set_test.go helper/schema: More tests for Set.HashEqual 9 years ago
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 helper/schema: Hook CustomizeDiffFunc into diff logic 9 years ago
valuetype.go
valuetype_string.go Update various files for new version of "stringer" 9 years ago

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.