// Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package logging // Structured logging keys. // // Practitioners or tooling reading logs may be depending on these keys, so be // conscious of that when changing them. // // Refer to the terraform-plugin-go logging keys as well, which should be // equivalent to these when possible. const ( // Attribute path representation, which is typically in flatmap form such // as parent.0.child in this project. KeyAttributePath = "tf_attribute_path" // The type of data source being operated on, such as "archive_file" KeyDataSourceType = "tf_data_source_type" // Human readable string when calling a provider defined type that must // implement the Description() method, such as validators. KeyDescription = "description" // Underlying Go error string when logging an error. KeyError = "error" // The type of resource being operated on, such as "random_pet" KeyResourceType = "tf_resource_type" // The type of value being operated on, such as "JSONStringValue". KeyValueType = "tf_value_type" )