NOTES:
- datasource: The
DataSource
typeGetSchema
andMetadata
methods will be required in the next version. (#472) - provider: The
DataSourceType
type has been deprecated in preference of moving theGetSchema
method to thedatasource.DataSource
type and optionally implementing theNewResource
method logic to a newConfigure
method. TheDataSourceType
type will be removed in the next version. (#472) - provider: The
Provider
typeGetDataSources
method has been deprecated in preference of theDataSources
method. Alldatasource.DataSource
types must implement theMetadata
method after migrating. Support for theGetDataSources
method will be removed in the next version. (#472) - provider: The
Provider
typeGetResources
method has been deprecated in preference of theResources
method. Allresource.Resource
types must implement theMetadata
method after migrating. Support for theGetResources
method will be removed in the next version. (#472) - provider: The
ResourceType
type has been deprecated in preference of moving theGetSchema
method to theresource.Resource
type and optionally implementing theNewResource
method logic to a newConfigure
method. TheResourceType
type will be removed in the next version. (#472) - resource: The
Resource
typeGetSchema
andMetadata
methods will be required in the next version. (#472)
BREAKING CHANGES:
- tfsdk: The
Schema
typeAttributeAtPath()
method signature has be updated with apath.Path
parameter anddiag.Diagnostics
return. Use theAttributeAtTerraformPath()
method instead if*tftypes.AttributePath
or specificerror
handling is still necessary. (#450) - tfsdk: The previously deprecated
Schema
typeAttributeType()
method has been removed. Use theType()
method instead. (#450) - tfsdk: The previously deprecated
Schema
typeAttributeTypeAtPath()
method has been removed. Use theTypeAtPath()
orTypeAtTerraformPath()
method instead. (#450) - tfsdk: The previously deprecated
Schema
typeTerraformType()
method has been removed. UseType().TerraformType()
instead. (#450)
ENHANCEMENTS:
- datasource: Added
DataSource
typeConfigure
,GetSchema
, andMetadata
method support (#472) - provider: Added
ConfigureResponse
typeDataSourceData
field, which will set thedatasource.ConfigureRequest.ProviderData
field (#472) - provider: Added
ConfigureResponse
typeResourceData
field, which will set theresource.ConfigureRequest.ProviderData
field (#472) - provider: Added
Provider
typeMetadata
method support, which theMetadataResponse.TypeName
field will set thedatasource.MetadataRequest.ProviderTypeName
andresource.MetadataRequest.ProviderTypeName
fields (#472) - resource: Added
Resource
typeConfigure
,GetSchema
, andMetadata
method support (#472)
BUG FIXES: