Skip to content

Commit 49365e2

Browse files
fully configurable
1 parent d98dd4d commit 49365e2

File tree

6 files changed

+449
-73
lines changed

6 files changed

+449
-73
lines changed

ibm_catalog.json

Lines changed: 194 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@
234234
{
235235
"key": "prefix",
236236
"type": "string",
237+
"default_value": "__NOT_SET__",
237238
"description": "A prefix added to the name of all resources created by this solution. Used to avoid name clashes in the target account when deploying this solution multiple times.",
238-
"default_value": "rag",
239239
"required": true
240240
},
241241
{
@@ -285,7 +285,15 @@
285285
"type": "string",
286286
"default_value": "__NULL__",
287287
"description": "The name of an existing resource group that is used by this solution, takes precedence over resource_group_name. Prefix is NOT used for existing resource group. All resources created by this solution are deployed in this resource group.",
288-
"required": false
288+
"required": false,
289+
"custom_config": {
290+
"type": "resource_group",
291+
"grouping": "deployment",
292+
"original_grouping": "deployment",
293+
"config_constraints": {
294+
"identifier": "rg_name"
295+
}
296+
}
289297
},
290298
{
291299
"key": "watsonx_admin_api_key",
@@ -294,7 +302,7 @@
294302
"required": false
295303
},
296304
{
297-
"key": "secret_manager_service_plan",
305+
"key": "secrets_manager_service_plan",
298306
"type": "string",
299307
"default_value": "trial",
300308
"description": "The service/pricing plan to use when provisioning a new Secrets Manager instance. Only one trial instance is allowed per account.",
@@ -327,11 +335,22 @@
327335
}
328336
]
329337
},
338+
{
339+
"key": "secrets_manager_secret_groups",
340+
"type": "array",
341+
"default_value": "[\n {\n secret_group_name = \"General\"\n secret_group_description = \"A general purpose secrets group with an associated access group which has a secrets reader role\"\n create_access_group = true\n access_group_name = \"general-secrets-group-access-group\"\n access_group_roles = [\"SecretsReader\"]\n }\n ]",
342+
"description": "Secret Manager secret group and access group configurations. If a prefix input variable is specified, it is added to the `access_group_name` value in the `<prefix>-value` format. If you do not wish to create any groups, set the value to `[]`. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-secrets-manager/tree/main/solutions/fully-configurable/provisioning_secrets_groups.md).",
343+
"custom_config": {
344+
"type": "code_editor",
345+
"grouping": "deployment",
346+
"original_grouping": "deployment"
347+
}
348+
},
330349
{
331350
"key": "cloud_monitoring_plan",
332351
"type": "string",
333352
"default_value": "graduated-tier",
334-
"description": "The IBM Cloud Monitoring plan to provision. Available values are `lite` and `graduated-tier` and `graduated-tier-sysdig-secure-plus-monitor` (available in region eu-fr2 only). [Learn more](https://cloud.ibm.com/docs/monitoring?topic=monitoring-service_plans)",
353+
"description": "The IBM Cloud Monitoring plan to provision. Available values are `lite` and `graduated-tier`. [Learn more](https://cloud.ibm.com/docs/monitoring?topic=monitoring-service_plans)",
335354
"required": false,
336355
"options": [
337356
{
@@ -730,8 +749,8 @@
730749
{
731750
"key": "prefix",
732751
"type": "string",
752+
"default_value": "__NOT_SET__",
733753
"description": "A prefix added to the name of all resources created by this solution. Must start with a letter, contain only lowercase letters, numbers, or dashes, and be 13 characters or less. Used to avoid name clashes in the target account when deploying this solution multiple times.",
734-
"default_value": "rag",
735754
"required": true
736755
},
737756
{
@@ -781,7 +800,15 @@
781800
"type": "string",
782801
"default_value": "__NULL__",
783802
"description": "The name of an existing resource group that is used by this solution, takes precedence over resource_group_name. Prefix is NOT used for existing resource group. All resources created by this solution are deployed in this resource group.",
784-
"required": false
803+
"required": false,
804+
"custom_config": {
805+
"type": "resource_group",
806+
"grouping": "deployment",
807+
"original_grouping": "deployment",
808+
"config_constraints": {
809+
"identifier": "rg_name"
810+
}
811+
}
785812
},
786813
{
787814
"key": "watsonx_admin_api_key",
@@ -790,7 +817,7 @@
790817
"required": false
791818
},
792819
{
793-
"key": "secret_manager_service_plan",
820+
"key": "secrets_manager_service_plan",
794821
"type": "string",
795822
"default_value": "standard",
796823
"description": "The service/pricing plan to use when provisioning a new Secrets Manager instance. Only one trial instance is allowed per account.",
@@ -806,6 +833,17 @@
806833
}
807834
]
808835
},
836+
{
837+
"key": "secrets_manager_secret_groups",
838+
"type": "array",
839+
"default_value": "[\n {\n secret_group_name = \"General\"\n secret_group_description = \"A general purpose secrets group with an associated access group which has a secrets reader role\"\n create_access_group = true\n access_group_name = \"general-secrets-group-access-group\"\n access_group_roles = [\"SecretsReader\"]\n }\n ]",
840+
"description": "Secret Manager secret group and access group configurations. If a prefix input variable is specified, it is added to the `access_group_name` value in the `<prefix>-value` format. If you do not wish to create any groups, set the value to `[]`. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-secrets-manager/tree/main/solutions/fully-configurable/provisioning_secrets_groups.md).",
841+
"custom_config": {
842+
"type": "code_editor",
843+
"grouping": "deployment",
844+
"original_grouping": "deployment"
845+
}
846+
},
809847
{
810848
"key": "key_protect_plan",
811849
"type": "string",
@@ -827,7 +865,7 @@
827865
"key": "cloud_monitoring_plan",
828866
"type": "string",
829867
"default_value": "graduated-tier",
830-
"description": "The IBM Cloud Monitoring plan to provision. Available values are `lite` and `graduated-tier` and `graduated-tier-sysdig-secure-plus-monitor` (available in region eu-fr2 only). [Learn more](https://cloud.ibm.com/docs/monitoring?topic=monitoring-service_plans)",
868+
"description": "The IBM Cloud Monitoring plan to provision. Available values are `lite` and `graduated-tier`. [Learn more](https://cloud.ibm.com/docs/monitoring?topic=monitoring-service_plans)",
831869
"required": false,
832870
"options": [
833871
{
@@ -1098,6 +1136,154 @@
10981136
{
10991137
"key": "watson_discovery_project_id",
11001138
"description": "The ID for the Watson Discovery project for the sample RAG application."
1139+
},
1140+
{
1141+
"key": "kms_instance_crn",
1142+
"description": "The CRN of the Hyper Protect Crypto Service instance or Key Protect instance"
1143+
},
1144+
{
1145+
"key": "kms_private_endpoint",
1146+
"description": "Key Management Service instance private endpoint URL."
1147+
},
1148+
{
1149+
"key": "kms_public_endpoint",
1150+
"description": "Key Management Service instance public endpoint URL."
1151+
},
1152+
{
1153+
"key": "event_notifications_instance_crn",
1154+
"description": "Event Notifications crn"
1155+
},
1156+
{
1157+
"key": "event_notifications_instance_name",
1158+
"description": "Event Notifications name"
1159+
},
1160+
{
1161+
"key": "event_notifications_instance_guid",
1162+
"description": "Event Notifications guid"
1163+
},
1164+
{
1165+
"key": "cloud_logs_for_logging_crn",
1166+
"description": "The id of the provisioned IBM Cloud Logs for logging instance."
1167+
},
1168+
{
1169+
"key": "cloud_logs_for_logging_guid",
1170+
"description": "The guid of the provisioned IBM Cloud Logs for logging instance."
1171+
},
1172+
{
1173+
"key": "cloud_logs_for_activity_tracking_crn",
1174+
"description": "The id of the provisioned IBM Cloud Logs for activity tracking instance."
1175+
},
1176+
{
1177+
"key": "cloud_logs_for_activity_tracking_guid",
1178+
"description": "The guid of the provisioned IBM Cloud Logs for activity tracking instance."
1179+
},
1180+
{
1181+
"key": "cloud_monitoring_crn",
1182+
"description": "The id of the provisioned IBM cloud monitoring instance."
1183+
},
1184+
{
1185+
"key": "cloud_monitoring_guid",
1186+
"description": "The guid of the provisioned IBM cloud monitoring instance."
1187+
},
1188+
{
1189+
"key": "secrets_manager_crn",
1190+
"description": "CRN of the Secrets Manager instance"
1191+
},
1192+
{
1193+
"key": "secrets_manager_guid",
1194+
"description": "GUID of Secrets Manager instance"
1195+
},
1196+
{
1197+
"key": "secrets_manager_name",
1198+
"description": "Name of the Secrets Manager instance"
1199+
},
1200+
{
1201+
"key": "app_config_crn",
1202+
"description": "CRN of the App Configuration instance"
1203+
},
1204+
{
1205+
"key": "app_config_guid",
1206+
"description": "GUID of the App Configuration instance"
1207+
},
1208+
{
1209+
"key": "scc_workload_protection_crn",
1210+
"description": "SCC Workload Protection instance CRN"
1211+
},
1212+
{
1213+
"key": "scc_workload_protection_guid",
1214+
"description": "SCC Workload Protection instance ID"
1215+
},
1216+
{
1217+
"key": "watson_discovery_crn",
1218+
"description": "The CRN of the Watson Discovery instance."
1219+
},
1220+
{
1221+
"key": "watson_discovery_dashboard_url",
1222+
"description": "The dashboard URL of the Watson Discovery instance."
1223+
},
1224+
{
1225+
"key": "watson_machine_learning_crn",
1226+
"description": "The CRN of the Watson Machine Learning instance."
1227+
},
1228+
{
1229+
"key": "watson_machine_learning_dashboard_url",
1230+
"description": "The dashboard URL of the Watson Machine Learning instance."
1231+
},
1232+
{
1233+
"key": "watson_machine_learning_guid",
1234+
"description": "The GUID of the Watson Machine Learning instance."
1235+
},
1236+
{
1237+
"key": "watson_studio_crn",
1238+
"description": "The CRN of the Watson Studio instance."
1239+
},
1240+
{
1241+
"key": "watson_studio_dashboard_url",
1242+
"description": "The dashboard URL of the Watson Studio instance."
1243+
},
1244+
{
1245+
"key": "watson_studio_guid",
1246+
"description": "The GUID of the Watson Studio instance."
1247+
},
1248+
{
1249+
"key": "watsonx_assistant_crn",
1250+
"description": "The CRN of the watsonx Assistant instance."
1251+
},
1252+
{
1253+
"key": "watsonx_assistant_dashboard_url",
1254+
"description": "The dashboard URL of the watsonx Assistant instance."
1255+
},
1256+
{
1257+
"key": "watsonx_data_crn",
1258+
"description": "The CRN of the watsonx.data instance."
1259+
},
1260+
{
1261+
"key": "watsonx_data_dashboard_url",
1262+
"description": "The dashboard URL of the watsonx.data instance."
1263+
},
1264+
{
1265+
"key": "watsonx_data_guid",
1266+
"description": "The GUID of the watsonx.data instance."
1267+
},
1268+
{
1269+
"key": "watson_discovery_guid",
1270+
"description": "The GUID of the Watson Discovery instance."
1271+
},
1272+
{
1273+
"key": "workload_cluster_name",
1274+
"description": "The name of the workload cluster. If the cluster name does not exactly match the prefix-workload-cluster pattern it will be null."
1275+
},
1276+
{
1277+
"key": "workload_cluster_id",
1278+
"description": "The id of the workload cluster. If the cluster name does not exactly match the prefix-workload-cluster pattern it will be null."
1279+
},
1280+
{
1281+
"key": "workload_cluster_private_service_endpoint_url",
1282+
"description": "The private service endpoint URL of the Workload cluster, if not then null."
1283+
},
1284+
{
1285+
"key": "workload_cluster_public_service_endpoint_url",
1286+
"description": "The public service endpoint URL of the Workload cluster, if not then null."
11011287
}
11021288
],
11031289
"install_type": "fullstack"

0 commit comments

Comments
 (0)