-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathkeys.go
More file actions
32 lines (24 loc) · 943 Bytes
/
keys.go
File metadata and controls
32 lines (24 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package logging
// Global logging keys attached to all requests.
//
// Practitioners or tooling reading logs may be depending on these keys, so be
// conscious of that when changing them.
const (
// Underlying error string
KeyError = "error"
// A unique ID for the RPC request
KeyRequestID = "tf_req_id"
// The full address of the provider, such as
// registry.terraform.io/hashicorp/random
KeyProviderAddress = "tf_provider_addr"
// The RPC being run, such as "ApplyResourceChange"
KeyRPC = "tf_rpc"
// The type of resource being operated on, such as "random_pet"
KeyResourceType = "tf_resource_type"
// The type of data source being operated on, such as "archive_file"
KeyDataSourceType = "tf_data_source_type"
// Path to protocol data file, such as "/tmp/example.json"
KeyProtocolDataFile = "tf_proto_data_file"
// The protocol version being used, as a string, such as "6"
KeyProtocolVersion = "tf_proto_version"
)