Skip to content

Commit cfa1b6f

Browse files
arya-girish-kArya Girish K
andauthored
fix: exposed OCP DA related virtual inputs to OCP AI DA (#73)
* fix: Add virtual inputs * fix: Removed duplicate subnet value * fix: update to latest submodule * fix: Resolved conflicts --------- Co-authored-by: Arya Girish K <arya.girish.k@ibm.com>
1 parent 8898872 commit cfa1b6f

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

ibm_catalog.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,52 @@
526526
],
527527
"default_value": "__NOT_SET__",
528528
"description": "The pricing plan to use when provisioning a Secrets Manager instance. Possible values: `standard`, `trial`. You can create only one Trial instance of Secrets Manager per account. Before you can create a new Trial instance, you must delete the existing Trial instance and its reclamation. [Learn more](https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-create-instance&interface=ui#upgrade-instance-standard)."
529+
},
530+
{
531+
"key": "enable_platform_metrics",
532+
"type": "boolean",
533+
"default_value": false,
534+
"description": "When set to `true`, the IBM Cloud Monitoring instance will be configured to collect platform metrics from the provided region. ⚠️ You can configure 1 instance only of the IBM Cloud Monitoring service per region to collect platform metrics in that location. Check with the account or service administrator if another monitoring instance has already been configured. You may not have permissions to see all monitoring instances in the region. [Learn more](https://cloud.ibm.com/docs/monitoring?topic=monitoring-platform_metrics_enabling).",
535+
"required": true,
536+
"virtual": true,
537+
"options": [
538+
{
539+
"displayname": "true",
540+
"value": "true"
541+
},
542+
{
543+
"displayname": "false",
544+
"value": "false"
545+
}
546+
]
547+
},
548+
{
549+
"key": "logs_routing_tenant_regions",
550+
"type": "array",
551+
"default_value": [],
552+
"description": "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. Pass a list of regions to create a tenant in. For example: [\"us-south\", \"us-east\"]. [Learn more](https://cloud.ibm.com/docs/logs-router?topic=logs-router-about-platform-logs).",
553+
"required": true,
554+
"virtual": true,
555+
"custom_config": {
556+
"grouping": "deployment",
557+
"original_grouping": "deployment",
558+
"config_constraints": {
559+
"type": "string"
560+
}
561+
}
562+
},
563+
{
564+
"key": "network_acls",
565+
"type": "list(object)",
566+
"default_value": "[\n {\n name = \"vpc-acl\"\n add_ibm_cloud_internal_rules = true\n add_vpc_connectivity_rules = true\n prepend_ibm_rules = true\n rules = [\n {\n name = \"allow-all-443-inbound\"\n action = \"allow\"\n direction = \"inbound\"\n tcp = {\n port_min = 443\n port_max = 443\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-all-80-inbound\"\n action = \"allow\"\n direction = \"inbound\"\n tcp = {\n port_min = 80\n port_max = 80\n source_port_min = 80\n source_port_max = 80\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-all-ingress-inbound\"\n action = \"allow\"\n direction = \"inbound\"\n tcp = {\n source_port_min = 30000\n source_port_max = 32767\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-all-443-outbound\"\n action = \"allow\"\n direction = \"outbound\"\n tcp = {\n source_port_min = 443\n source_port_max = 443\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-all-80-outbound\"\n action = \"allow\"\n direction = \"outbound\"\n tcp = {\n source_port_min = 80\n source_port_max = 80\n port_min = 80\n port_max = 80\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n },\n {\n name = \"allow-all-ingress-outbound\"\n action = \"allow\"\n direction = \"outbound\"\n tcp = {\n port_min = 30000\n port_max = 32767\n }\n destination = \"0.0.0.0/0\"\n source = \"0.0.0.0/0\"\n }\n ]\n }\n]",
567+
"description": "The list of ACLs to create. Provide at least one rule for each ACL. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vpc/blob/main/solutions/fully-configurable/DA-types.md#network-acls-).",
568+
"required": false,
569+
"virtual": true,
570+
"custom_config": {
571+
"type": "code_editor",
572+
"grouping": "deployment",
573+
"original_grouping": "deployment"
574+
}
529575
}
530576
],
531577
"dependencies": [
@@ -597,6 +643,21 @@
597643
"dependency_input": "secrets_manager_service_plan",
598644
"version_input": "secrets_manager_service_plan",
599645
"reference_version": true
646+
},
647+
{
648+
"dependency_input": "network_acls",
649+
"version_input": "network_acls",
650+
"reference_version": true
651+
},
652+
{
653+
"dependency_input": "logs_routing_tenant_regions",
654+
"version_input": "logs_routing_tenant_regions",
655+
"reference_version": true
656+
},
657+
{
658+
"dependency_input": "enable_platform_metrics",
659+
"version_input": "enable_platform_metrics",
660+
"reference_version": true
600661
}
601662
],
602663
"version": "v3.58.2"

0 commit comments

Comments
 (0)