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
James Bardin 21dfa56766
use ShimInstanceStateFromValue in DiffFromValues
7 years ago
..
README.md
backend.go create a SimpleDiff for the new provider shims 8 years ago
backend_test.go backend: Update interface and implementations for new config loader 8 years ago
core_schema.go add checks for timeouts attributes and blocks 7 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 helper/schema: Clear existing map/set/list contents before overwriting 8 years ago
field_writer_map_test.go helper/schema: Clear existing map/set/list contents before overwriting 8 years ago
getsource_string.go Update various files for new version of "stringer" 8 years ago
provider.go create a SimpleDiff for the new provider shims 8 years ago
provider_test.go helper/schema: Add test for invalid timeout value 7 years ago
provisioner.go create a SimpleDiff for the new provider shims 8 years ago
provisioner_test.go
resource.go move InstanceState shim into schema.Resource 7 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 helper/schema: Fix timeout parsing in ResourceTimeout.ConfigDecode 7 years ago
resource_timeout.go helper/schema: Avoid erroring out on undefined timeouts 7 years ago
resource_timeout_test.go helper/schema: Fix timeout parsing in ResourceTimeout.ConfigDecode 7 years ago
schema.go create a SimpleDiff for the new provider shims 8 years ago
schema_test.go create a SimpleDiff for the new provider shims 8 years ago
serialize.go
serialize_test.go
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 use ShimInstanceStateFromValue in DiffFromValues 7 years ago
shims_test.go use ShimInstanceStateFromValue in DiffFromValues 7 years ago
testing.go create a SimpleDiff for the new provider shims 8 years ago
valuetype.go
valuetype_string.go Update various files for new version of "stringer" 8 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.