Skip to content

Commit 2dc9657

Browse files
authored
feat: updated some DA inputs to use the binary choices widget (#1090)
1 parent 2169b85 commit 2dc9657

File tree

2 files changed

+29
-5
lines changed

2 files changed

+29
-5
lines changed

dynamic_values/config_modules/list_to_map/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ variable "lookup_field" {
2626
}
2727

2828
variable "lookup_value_regex" {
29-
description = "regular expression for reurned value"
29+
description = "Regular expression for returned value"
3030
type = string
3131
default = null
3232
}

ibm_catalog.json

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,21 @@
375375
}
376376
},
377377
{
378-
"key": "enable_vpc_flow_logs"
378+
"key": "enable_vpc_flow_logs",
379+
"type": "boolean",
380+
"type_metadata": "boolean",
381+
"options": [
382+
{
383+
"description": "Do not collect VPC network traffic metadata.",
384+
"displayname": "False",
385+
"value": false
386+
},
387+
{
388+
"description": "Collect and store IP traffic metadata from VPC network interfaces to Cloud Object Storage for monitoring, security analysis, and troubleshooting.",
389+
"displayname": "True",
390+
"value": true
391+
}
392+
]
379393
},
380394
{
381395
"key": "existing_cos_instance_crn",
@@ -447,41 +461,48 @@
447461
},
448462
{
449463
"key": "management_endpoint_type_for_bucket",
464+
"hidden": true,
450465
"options": [
451466
{
452-
"displayname": "Public",
467+
"displayname": "public",
453468
"value": "public"
454469
},
455470
{
456-
"displayname": "Private",
471+
"displayname": "private",
457472
"value": "private"
458473
},
459474
{
460-
"displayname": "Direct",
475+
"displayname": "direct",
461476
"value": "direct"
462477
}
463478
]
464479
},
465480
{
466481
"key": "cos_bucket_class",
482+
"type_metadata": "string",
467483
"options": [
468484
{
485+
"description": "Active data accessed frequently.",
469486
"displayname": "Standard",
470487
"value": "standard"
471488
},
472489
{
490+
"description": "Less active data accessed once a month.",
473491
"displayname": "Vault",
474492
"value": "vault"
475493
},
476494
{
495+
"description": "Cold data accessed a few times yearly.",
477496
"displayname": "Cold",
478497
"value": "cold"
479498
},
480499
{
500+
"description": "Automatic cost optimization for data of any activity or access.",
481501
"displayname": "Smart",
482502
"value": "smart"
483503
},
484504
{
505+
"description": "Single all-inclusive price for storage, API operations, and bandwidth. Ideal for active workloads with large usage.",
485506
"displayname": "OneRate Active",
486507
"value": "onerate_active"
487508
}
@@ -495,12 +516,15 @@
495516
},
496517
{
497518
"key": "flow_logs_cos_bucket_archive_type",
519+
"type_metadata": "string",
498520
"options": [
499521
{
522+
"description": "Lower-cost archive storage. Data retrieval takes hours.",
500523
"displayname": "Glacier",
501524
"value": "Glacier"
502525
},
503526
{
527+
"description": "Higher-cost archive with faster retrieval.",
504528
"displayname": "Accelerated",
505529
"value": "Accelerated"
506530
}

0 commit comments

Comments
 (0)