generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
538 lines (462 loc) · 27.1 KB
/
variables.tf
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
########################################################################################################################
# Common variables
########################################################################################################################
variable "ibmcloud_api_key" {
type = string
description = "The API key to use for IBM Cloud."
sensitive = true
}
variable "ibmcloud_kms_api_key" {
type = string
description = "The IBM Cloud API key that can create a root key and key ring in the key management service (KMS) instance. If not specified, the 'ibmcloud_api_key' variable is used. Specify this key if the instance in `existing_kms_instance_crn` is in an account that's different from the Observability resources. Leave empty if the same account owns all the instances."
sensitive = true
default = null
}
variable "ibmcloud_cos_api_key" {
type = string
description = "The IBM Cloud API key that can create a Cloud Object Storage (COS) instance. If not specified, the 'ibmcloud_api_key' variable is used. Specify this key if the COS instance is in an account that's different from the one associated Observability resources. Leave empty if the same account owns all the instances."
sensitive = true
default = null
}
variable "use_existing_resource_group" {
type = bool
description = "Whether to use an existing resource group."
default = false
}
variable "resource_group_name" {
type = string
description = "The name of a new or existing resource group to provision resources in."
}
variable "cos_resource_group_name" {
type = string
description = "The name of a new or existing resource group to provision COS instance in. If not specified, the 'resource_group_name' variable is used. Specify this if the COS instance is in an account that's different from the one associated Observability resources."
default = null
}
variable "region" {
description = "The region where observability resources are created."
type = string
default = "us-south"
}
variable "prefix" {
type = string
description = "The prefix to add to all resources that this solution creates."
default = null
}
variable "provider_visibility" {
description = "Set the visibility value for the IBM terraform provider. Supported values are `public`, `private`, `public-and-private`. [Learn more](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/guides/custom-service-endpoints)."
type = string
# Defaulting this to public to workaround https://github.com/IBM-Cloud/terraform-provider-ibm/issues/5824
default = "public"
validation {
condition = contains(["public", "private", "public-and-private"], var.provider_visibility)
error_message = "Invalid visibility option. Allowed values are 'public', 'private', or 'public-and-private'."
}
}
##############################################################################
# IBM Cloud Logs
##############################################################################
variable "cloud_logs_provision" {
description = "Set it to true to provision an IBM Cloud Logs instance"
type = bool
default = true
}
variable "cloud_logs_instance_name" {
type = string
description = "The name of the IBM Cloud Logs instance to create. If a prefix input variable is passed, it is prefixed to the value in the `<prefix>-value` format."
default = "cloud-logs"
}
variable "cloud_logs_tags" {
type = list(string)
description = "The resource tags that are associated with the IBM Cloud Logs instance (`Optional`, `array of strings`)."
default = []
}
variable "cloud_logs_access_tags" {
type = list(string)
description = "A list of access tags to apply to the Cloud Logs instance. Maximum length: 128 characters. Possible characters are A-Z, 0-9, spaces, underscores, hyphens, periods, and colons. [Learn more](https://cloud.ibm.com/docs/account?topic=account-access-tags-tutorial)."
default = []
validation {
condition = alltrue([
for tag in var.cloud_logs_access_tags : can(regex("[\\w\\-_\\.]+:[\\w\\-_\\.]+", tag)) && length(tag) <= 128
])
error_message = "Tags must match the regular expression \"[\\w\\-_\\.]+:[\\w\\-_\\.]+\". For more information, see https://cloud.ibm.com/docs/account?topic=account-tag&interface=ui#limits."
}
}
# https://github.ibm.com/GoldenEye/issues/issues/10928#issuecomment-93550079
variable "cloud_logs_existing_en_instances" {
description = "A list of existing Event Notification instances to be integrated with the Cloud Logging service. Each object in the list represents an Event Notification instance, including its CRN, an optional name for the integration, and an optional flag to skip the authentication policy creation for the Event Notification instance [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-observability-da/blob/main/solutions/instances/DA-types.md#cloud-logs-event-notification-instances-). This variable is intended for integrating a multiple Event Notifications instance to Cloud Logs. If you need to integrate only one instance, you may also use the `existing_en_instance_crn`, `en_integration_name` and `skip_en_auth_policy` variables instead."
type = list(object({
instance_crn = string
integration_name = optional(string, "cloud-logs-en-integration")
skip_en_auth_policy = optional(bool, false)
}))
default = []
}
variable "existing_en_instance_crn" {
type = string
description = "The CRN of the existing event notification instance. This variable is intended for integrating a single Event Notifications instance to Cloud Logs. If you need to integrate multiple instances, use the `cloud_logs_existing_en_instances` variable instead."
default = null
}
variable "en_integration_name" {
type = string
description = "The name of the event notification integration that gets created. If a prefix input variable is passed, it is prefixed to the value in the `<prefix>-value` format. This variable is intended for integrating a single Event Notifications instance to Cloud Logs. If you need to integrate multiple instances, use the `cloud_logs_existing_en_instances` variable instead."
default = "cloud-logs-en-integration"
}
variable "skip_en_auth_policy" {
type = bool
description = "To skip creating auth policy that allows Cloud Logs 'Event Source Manager' role access in the existing event notification instance. This variable is intended for integrating a single Event Notifications instance to Cloud Logs. If you need to integrate multiple instances, use the `cloud_logs_existing_en_instances` variable instead."
default = false
}
variable "cloud_logs_retention_period" {
type = number
description = "The number of days IBM Cloud Logs will retain the logs data in priority insights. Possible Values: 7, 14, 30, 60, 90"
default = 7
validation {
condition = contains([7, 14, 30, 60, 90], var.cloud_logs_retention_period)
error_message = "The retention period must be one of the following values: 7, 14, 30, 60, or 90 days."
}
}
variable "skip_logs_routing_auth_policy" {
description = "Whether to create an IAM authorization policy that permits Logs Routing Sender access to the IBM Cloud Logs."
type = bool
default = false
}
variable "enable_platform_logs" {
type = bool
description = "Setting this to true will create a tenant in the same region that the Cloud Logs instance is provisioned to enable platform logs for that region. To send platform logs from other regions, you can explicitially specify a list of regions using the `logs_routing_tenant_regions` input. NOTE: You can only have 1 tenant per region in an account."
default = true
}
variable "logs_routing_tenant_regions" {
type = list(any)
default = []
description = "Pass a list of regions to create a tenant that is targetted to the Cloud Logs instance created by this module. To manage platform logs that are generated by IBM Cloud® services in a region of IBM Cloud, you must create a tenant in each region that you operate. Leave the list empty if you don't want to create any tenants."
nullable = false
}
variable "manage_log_archive_cos_bucket" {
type = bool
default = false
description = "Log Analysis has been deprecated, and can no longer be deployed wuth this solution, however you can continue to manage the COS bucket that may have been in older versions for Log Analysis log archiving by setting this input to true."
}
########################################################################
# Cloud Logs Policies - TCO Optimizer
#########################################################################
variable "cloud_logs_policies" {
type = list(object({
logs_policy_name = string
logs_policy_description = optional(string, null)
logs_policy_priority = string
application_rule = optional(list(object({
name = string
rule_type_id = optional(string, "unspecified")
})))
subsystem_rule = optional(list(object({
name = string
rule_type_id = optional(string, "unspecified")
})))
log_rules = optional(list(object({
severities = list(string)
})))
archive_retention = optional(list(object({
id = string
})))
}))
description = "Configuration of Cloud Logs policies. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-observability-da/blob/main/solutions/instances/DA-types.md#cloud-logs-policies-)."
default = []
}
##############################################################################
# Activity Tracker Event Routing Variables
##############################################################################
variable "enable_at_event_routing_to_cos_bucket" {
type = bool
description = "Whether to enable event routing from Activity Tracker to the Object Storage bucket."
default = true
}
variable "enable_at_event_routing_to_cloud_logs" {
type = bool
description = "Whether to enable event routing from Activity Tracker to Cloud Log."
default = true
}
##############################################################################
# Metric Routing Variables
##############################################################################
variable "metrics_router_routes" {
type = list(object({
name = string
rules = list(object({
action = string
targets = list(object({
id = string
}))
inclusion_filters = list(object({
operand = string
operator = string
values = list(string)
}))
}))
}))
default = []
description = "Routes for IBM Cloud Metrics Routing. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-observability-da/blob/main/solutions/instances/DA-types.md#metrics-router-routes-)"
}
variable "enable_metrics_routing_to_cloud_monitoring" {
type = bool
description = "Whether to enable metrics routing from IBM Cloud Metric Routing to Cloud Monitoring."
default = true
}
##############################################################################
# Cloud Monitoring Variables
##############################################################################
variable "cloud_monitoring_provision" {
description = "Whether to create an IBM cloud monitoring instance. Set to `false` if a CRN is specified in `existing_cloud_monitoring_crn`."
type = bool
default = true
}
variable "existing_cloud_monitoring_crn" {
description = "The CRN of an IBM Cloud Monitoring instance. If specified, set the `cloud_monitoring_provision` variable to `false`."
type = string
default = null
}
variable "cloud_monitoring_instance_name" {
type = string
description = "The name of the IBM Cloud Monitoring instance to create. If the prefix variable is passed, the name of the instance is prefixed to the value in the `<prefix>-value` format."
default = "cloud-monitoring"
}
variable "cloud_monitoring_plan" {
type = string
description = "The IBM Cloud Monitoring plan to provision. Available values are `lite` and `graduated-tier`."
default = "graduated-tier"
validation {
condition = can(regex("^lite$|^graduated-tier$", var.cloud_monitoring_plan))
error_message = "Specify one of the following values for the `cloud_monitoring_plan`: `lite` or `graduated-tier`."
}
}
variable "cloud_monitoring_tags" {
type = list(string)
description = "The tags that are associated with the IBM Cloud Monitoring instance (`Optional`, `array of strings`)."
default = []
}
variable "enable_platform_metrics" {
type = bool
description = "When set to `true`, the IBM Cloud Monitoring instance collects the platform metrics."
default = true
}
########################################################################################################################
# COS variables
########################################################################################################################
variable "add_bucket_name_suffix" {
type = bool
description = "Add a randomly generated suffix that is 4 characters in length, to the name of the newly provisioned Cloud Object Storage bucket. Do not use this suffix if you are passing the existing Cloud Object Storage bucket. To manage the name of the Cloud Object Storage bucket manually, use the `cloud_log_data_bucket_name`, `cloud_log_metrics_bucket_name`, `at_cos_target_bucket_name` and `log_archive_cos_bucket_name` variables."
default = true
}
variable "cos_region" {
type = string
default = null
description = "The Cloud Object Storage region. If no value is provided, the value that is specified in the `region` input variable is used."
}
variable "cos_instance_name" {
type = string
default = "observability-cos"
description = "The name of the Cloud Object Storage instance to create. If the prefix input variable is passed, the name of the instance is prefixed to the value in the `<prefix>-value` format."
}
variable "cos_instance_tags" {
type = list(string)
description = "A list of optional tags to add to a new Cloud Object Storage instance."
default = []
}
variable "at_cos_bucket_retention_policy" {
type = object({
default = optional(number, 90)
maximum = optional(number, 350)
minimum = optional(number, 90)
permanent = optional(bool, false)
})
description = "The retention policy of the IBM Cloud Activity Tracker Event Routing COS target bucket. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-observability-da/blob/main/solutions/instances/DA-types.md#at_cos_bucket_retention_policy-)"
default = null
}
variable "cloud_log_data_bucket_retention_policy" {
type = object({
default = optional(number, 90)
maximum = optional(number, 350)
minimum = optional(number, 90)
permanent = optional(bool, false)
})
description = "The retention policy of the IBM Cloud Logs data bucket.[Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-observability-da/blob/main/solutions/instances/DA-types.md#cloud_log_data_bucket_retention_policy-)"
default = null
}
variable "cos_instance_access_tags" {
type = list(string)
description = "A list of access tags to apply to a new Cloud Object Storage instance."
default = []
}
variable "log_archive_cos_bucket_name" {
type = string
default = "log-archive-cos-bucket"
description = "The name of the Cloud Object Storage bucket to create to store log archive files. Cloud Object Storage bucket names are globally unique. If the `add_bucket_name_suffix` variable is set to `true`, 4 random characters are added to this name to ensure that the name of the bucket is globally unique. If the prefix input variable is passed, the name of the instance is prefixed to the value in the `<prefix>-value` format."
}
variable "at_cos_target_bucket_name" {
type = string
default = "at-events-cos-bucket"
description = "The name of the Cloud Object Storage bucket to create for the Cloud Object Storage target to store AT events. Cloud Object Storage bucket names are globally unique. If the `add_bucket_name_suffix` variable is set to `true`, 4 random characters are added to this name to ensure that the name of the bucket is globally unique. If the prefix input variable is passed, the name of the instance is prefixed to the value in the `<prefix>-value` format."
}
variable "cloud_log_data_bucket_name" {
type = string
default = "cloud-logs-data-bucket"
description = "The name of the Cloud Object Storage bucket to create to store cloud log data. Cloud Object Storage bucket names are globally unique. If the `add_bucket_name_suffix` variable is set to `true`, 4 random characters are added to this name to ensure that the name of the bucket is globally unique. If the prefix input variable is passed, the name of the bucket is prefixed to the value in the `<prefix>-value` format."
}
variable "cloud_log_metrics_bucket_name" {
type = string
default = "cloud-logs-metrics-bucket"
description = "The name of the Cloud Object Storage bucket to create to store cloud logs metrics. Cloud Object Storage bucket names are globally unique. If the `add_bucket_name_suffix` variable is set to `true`, 4 random characters are added to this name to ensure that the name of the bucket is globally unique. If the prefix input variable is passed, the name of the bucket is prefixed to the value in the `<prefix>-value` format."
}
variable "archive_bucket_access_tags" {
type = list(string)
default = []
description = "A list of optional tags to add to the Log Analysis log archive Cloud Object Storage bucket."
}
variable "at_cos_bucket_access_tags" {
type = list(string)
default = []
description = "A list of optional access tags to add to the IBM Cloud Activity Tracker Event Routing Cloud Object Storage bucket."
}
variable "cloud_log_data_bucket_access_tag" {
type = list(string)
default = []
description = "A list of optional tags to add to the cloud log data object storage bucket."
}
variable "cloud_log_metrics_bucket_access_tag" {
type = list(string)
default = []
description = "A list of optional tags to add to the cloud log metrics object storage bucket."
}
variable "log_archive_cos_bucket_class" {
type = string
default = "smart"
description = "The storage class of the newly provisioned Cloud Object Storage bucket. Specify one of the following values for the storage class: `standard`, `vault`, `cold`, `smart` (default), or `onerate_active`."
validation {
condition = contains(["standard", "vault", "cold", "smart", "onerate_active"], var.log_archive_cos_bucket_class)
error_message = "Specify one of the following values for the `cos_bucket_class`: `standard`, `vault`, `cold`, `smart`, or `onerate_active`."
}
}
variable "at_cos_target_bucket_class" {
type = string
default = "smart"
description = "The storage class of the newly provisioned Cloud Object Storage bucket. Specify one of the following values for the storage class: `standard`, `vault`, `cold`, `smart` (default), or `onerate_active`."
validation {
condition = contains(["standard", "vault", "cold", "smart", "onerate_active"], var.at_cos_target_bucket_class)
error_message = "Specify one of the following values for the `cos_bucket_class`: `standard`, `vault`, `cold`, `smart`, or `onerate_active`."
}
}
variable "cloud_log_data_bucket_class" {
type = string
default = "smart"
description = "The storage class of the newly provisioned cloud logs Cloud Object Storage bucket. Specify one of the following values for the storage class: `standard` or `smart` (default)."
validation {
condition = contains(["standard", "smart"], var.cloud_log_data_bucket_class)
error_message = "Specify one of the following values for the `cos_bucket_class`: `standard` or `smart`. See more at https://cloud.ibm.com/docs/cloud-logs?topic=cloud-logs-configure-data-bucket"
}
}
variable "cloud_log_metrics_bucket_class" {
type = string
default = "smart"
description = "The storage class of the newly provisioned cloud logs Cloud Object Storage bucket. Specify one of the following values for the storage class: `standard` or `smart` (default)."
validation {
condition = contains(["standard", "smart"], var.cloud_log_metrics_bucket_class)
error_message = "Specify one of the following values for the `cos_bucket_class`: `standard`, or `smart`. See more at https://cloud.ibm.com/docs/cloud-logs?topic=cloud-logs-configure-data-bucket"
}
}
variable "existing_cos_instance_crn" {
type = string
nullable = true
default = null
description = "The CRN of an existing Cloud Object Storage instance. If a CRN is not specified, a new instance of Cloud Object Storage is created."
}
variable "existing_cloud_logs_data_bucket_crn" {
type = string
nullable = true
default = null
description = "The crn of an existing bucket within the Cloud Object Storage instance to store IBM Cloud Logs data. If an existing Cloud Object Storage bucket is not specified, a bucket is created."
}
variable "existing_cloud_logs_metrics_bucket_crn" {
type = string
nullable = true
default = null
description = "The crn of an existing bucket within the Cloud Object Storage instance to store IBM Cloud Logs metrics. If an existing Cloud Object Storage bucket is not specified, a bucket is created."
}
variable "existing_at_cos_target_bucket_name" {
type = string
nullable = true
default = null
description = "The name of an existing bucket within the Cloud Object Storage instance in which to store IBM Cloud Activity Tracker Event Routing. If an existing Cloud Object Storage bucket is not specified, a bucket is created."
}
variable "existing_at_cos_target_bucket_endpoint" {
type = string
nullable = true
default = null
description = "The name of an existing Cloud Object Storage bucket endpoint to use for setting up IBM Cloud Activity Tracker Event Routing. If an existing endpoint is not specified, the endpoint of the new Cloud Object Storage bucket is used."
}
variable "skip_cos_kms_auth_policy" {
type = bool
description = "To skip creating an IAM authorization policy that allows the Cloud Object Storage instance to read the encryption key from the key management service (KMS) instance, set this variable to `true`. Before you can create an encrypted Cloud Object Storage bucket, an authorization policy must exist."
default = false
}
variable "existing_cloud_logs_data_bucket_endpoint" {
type = string
nullable = true
default = null
description = "The endpoint of an existing Cloud Object Storage bucket to use for storing the IBM Cloud Logs data. If an existing Cloud Object Storage bucket is not specified, a bucket is created."
}
variable "existing_cloud_logs_metrics_bucket_endpoint" {
type = string
nullable = true
default = null
description = "The endpoint of an existing Cloud Object Storage bucket to use for storing the IBM Cloud Logs metrics. If an existing Cloud Object Storage bucket is not specified, a bucket is created."
}
variable "skip_cloud_logs_cos_auth_policy" {
type = bool
description = "To skip creating an IAM authorization policy that allows the IBM Cloud logs to write to the Cloud Object Storage bucket, set this variable to `true`."
default = false
}
variable "skip_at_cos_auth_policy" {
type = bool
description = "To skip creating an IAM authorization policy that allows the Activity Traker to write to the Cloud Object Storage instance, set this variable to `true`."
default = false
}
variable "management_endpoint_type_for_bucket" {
description = "The type of endpoint for the IBM Terraform provider to use to manage Cloud Object Storage buckets (`public`, `private`, or `direct`). If you are using a private endpoint, make sure that you enable virtual routing and forwarding (VRF) in your account, and that the Terraform runtime can access the IBM Cloud Private network."
type = string
default = "private"
validation {
condition = contains(["public", "private", "direct"], var.management_endpoint_type_for_bucket)
error_message = "The specified `management_endpoint_type_for_bucket` is not valid. Specify a valid type of endpoint for the IBM Terraform provider to use to manage Cloud Object Storage buckets."
}
}
########################################################################################################################
# KMS variables
########################################################################################################################
variable "existing_kms_instance_crn" {
type = string
default = null
description = "The CRN of the key management service (KMS) that is used to create keys for encrypting the Cloud Object Storage bucket. If you are not using an existing KMS root key, you must specify this CRN. If you are using an existing KMS root key, an existing COS instance and auth policy is not set for COS to KMS, you must specify this CRN. If the existing Cloud Object Storage bucket details are passed as an input, this value is not required."
}
variable "existing_cos_kms_key_crn" {
type = string
default = null
description = "Optional. The CRN of an existing key management service (KMS) key to use to encrypt the Cloud Object Storage buckets that this solution creates. To create a key ring and key, pass a value for the `existing_kms_instance_crn` input variable. To use existing Cloud Object Storage buckets, pass a value for the `existing_cloud_logs_data_bucket_crn`, `existing_cloud_logs_metrics_bucket_crn`, and `existing_at_cos_target_bucket_name` input variables."
}
variable "kms_endpoint_type" {
type = string
description = "The type of endpoint to use for communicating with the Key Protect or Hyper Protect Crypto Services instance. Possible values: `public`, `private`. Applies only if `existing_cos_kms_key_crn` is not specified."
default = "private"
validation {
condition = can(regex("public|private", var.kms_endpoint_type))
error_message = "Valid values for the `kms_endpoint_type_value` are `public` or `private`. "
}
}
variable "cos_key_ring_name" {
type = string
default = "observability-cos-key-ring"
description = "The name of the key ring to create for the Cloud Object Storage bucket key. This name will be used by both the log archive bucket and the IBM Cloud Activity Tracker Cloud Object Storage bucket. If an existing key is used, this variable is not required. If the prefix input variable is passed, the name of the key ring is prefixed to the value in the `prefix-value` format."
}
variable "cos_key_name" {
type = string
default = "observability-cos-key"
description = "The name of the key to create for the Cloud Object Storage bucket. This name will be used by both the log archive bucket and the IBM Cloud Activity Tracker Cloud Object Storage bucket. If an existing key is used, this variable is not required. If the prefix input variable is passed, the name of the key is prefixed to the value in the `prefix-value` format."
}