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. (#900) - helper/resource: The new terraform-plugin-log
sdk.helper_resource
logger inherits theTF_LOG
,TF_LOG_PATH_MASK
, andTF_ACC_LOG_PATH
environment variable settings, similar to the prior logging. TheTF_LOG_SDK_HELPER_RESOURCE
environment variable can be used to separately control the new logger level. (#891) - helper/schema: Started using terraform-plugin-log to write some SDK-level logs. Very few logs use this functionality now, but in the future, the environment variable
TF_LOG_SDK_HELPER_SCHEMA
will be able to set the log level for the SDK separately from the provider. (#837) - helper/schema: The
Schema
typeDiffSuppressOnRefresh
field opts in to usingDiffSuppressFunc
to detect normalization changes during refresh, using the same rules as for planning. This can prevent normalization cascading downstream and producing confusing changes in other resources, and will avoid reporting "Values changed outside of Terraform" for normalization-only situations. This is a desirable behavior for most attributes that haveDiffSuppressFunc
and so would ideally be on by default, but it is opt-in for backward compatibility reasons. (#882) - plugin: The
Debug
function has been deprecated in preference of setting theDebug
field in theServeOpts
passed into theServe
function. (#857)
ENHANCEMENTS:
- helper/resource: Added more visible logging for test steps skipped via the
TestStep
typeSkipFunc
field. (#889) - helper/resource: Added terraform-plugin-log
sdk.helper_resource
logger and extensiveTRACE
log entries (#891) - helper/schema: Added the
DiffSuppressOnRefresh
field to theSchema
type (#882) - plugin: Added support for writing protocol data to disk by setting
TF_LOG_SDK_PROTO_DATA_DIR
environment variable (#857) - plugin: Increased maximum gRPC send and receive message size limit to 256MB (#857)
BUG FIXES: