NOTES:
- The underlying
terraform-plugin-log
dependency has been updated to v0.3.0, which includes a breaking change in the optional additional fields parameter of logging function calls to ensure correctness and catch coding errors during compilation. Any early adopter provider logging which calls those functions may require updates. (#268)
BREAKING CHANGES:
- The
ToTerraformValue
method of theattr.Value
interface now returns atftypes.Value
, instead of aninterface{}
. Existing types need to be updated to calltftypes.ValidateValue
andtftypes.NewValue
, passing the value they were returning before, instead of returning the value directly. (#231) - tfsdk: The
ListNestedAttributesOptions
,MapNestedAttributeOptions
, andSetNestedAttributeOptions
typeMaxItems
andMinItems
fields have been removed since the protocol and framework never supported this type of nested attribute validation. Use attribute validators instead. (#249)
ENHANCEMENTS:
- Added the ability to get an attribute as a generic
attr.Value
when usingGetAttribute
. (#232) - Logging can now be used by calling
tflog.Trace
,tflog.Debug
,tflog.Info
,tflog.Warn
, ortflog.Error
. See the tflog docs for more information. (#234) - tfsdk: Added
Debug
field toServeOpts
for running providers via debugger and testing processes (#243)
BUG FIXES: