NOTES:
- This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#445)
- tfsdk: The
Schema
typeAttributeAtPath()
method signature will be updated from a*tftypes.AttributePath
parameter topath.Path
in the next release. Switch to theAttributeAtTerraformPath()
method if*tftypes.AttributePath
handling is still necessary. (#440) - tfsdk: The
Schema
typeAttributeType()
method has been deprecated in preference of theType()
method. (#440) - tfsdk: The
Schema
typeAttributeTypeAtPath()
method has been deprecated for theTypeAtPath()
andTypeAtTerraformPath()
methods. (#440) - tfsdk: The
Schema
typeTerraformType()
method has been deprecated in preference of callingType().TerraformType()
. (#440)
BREAKING CHANGES:
- tfsdk: Go types relating to data source handling have been migrated to the new
datasource
package. Consult the pull request description for a full listing of find-and-replace information. (#432) - tfsdk: Go types relating to provider handling have been migrated to the new
provider
package. Consult the pull request description for a full listing of find-and-replace information. (#432) - tfsdk: Go types relating to resource handling have been migrated to the new
resource
package. Consult the pull request description for a full listing of find-and-replace information. (#432) - tfsdk: The
RequiresReplace()
,RequiresReplaceIf()
, andUseStateForUnknown()
plan modifier functions, which only apply to managed resources, have been moved to theresource
package. (#434) - tfsdk: The
ResourceImportStatePassthroughID()
function has been moved toresource.ImportStatePassthroughID()
. (#432) - tfsdk: The
Schema
typeAttributeAtPath
method now returns afwschema.Attribute
interface instead of atfsdk.Attribute
type. Consumers will need to update from direct field usage to similarly named interface method calls. (#438)
FEATURES:
- datasource: New package, which colocates all data source implementation types from the
tfsdk
package (#432) - provider: New package, which colocates all provider implementation types from the
tfsdk
package (#432) - resource: Enabled provider developers to read/write private state data. (#433)
- resource: New package, which colocates all resource implementation types from the
tfsdk
package (#432)
ENHANCEMENTS:
- tfsdk: Added
Block
typeMaxItems
andMinItems
field validation for Terraform 0.12 through 0.15.1 (#422)
BUG FIXES: