Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit 649cce7

Browse files
authored
add ES DA and disable Watsonx Saas (#1)
1 parent 5bdfc70 commit 649cce7

File tree

3 files changed

+98
-9
lines changed

3 files changed

+98
-9
lines changed

ibm_catalog.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,12 @@
138138
"crn:v1:bluemix:public:iam::::role:Editor"
139139
],
140140
"service_name": "discovery"
141+
},
142+
{
143+
"service_name": "databases-for-elasticsearch",
144+
"role_crns": [
145+
"crn:v1:bluemix:public:iam::::role:Editor"
146+
]
141147
}
142148
],
143149
"architecture": {
@@ -288,6 +294,22 @@
288294
}
289295
],
290296
"outputs": [
297+
{
298+
"key": "elasticsearch_hostname",
299+
"description": "Elasticsearch instance hostname."
300+
},
301+
{
302+
"key": "elasticsearch_port",
303+
"description": "Elasticsearch instance port."
304+
},
305+
{
306+
"key": "elasticsearch_service_credentials_json",
307+
"description": "Elasticsearch instance service credentials json map."
308+
},
309+
{
310+
"key": "elasticsearch_crn",
311+
"description": "Elasticsearch instance crn."
312+
},
291313
{
292314
"key": "watsonx_project_url",
293315
"description": "The URL to the WatsonX project for the sample RAG application."

sample_deploy_config.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
"2c - Security Service - Security Compliance Center",
1010
"3 - Observability - Logging Monitoring Activity Tracker",
1111
"4 - WatsonX SaaS services",
12-
"5 - Sample RAG app - Application Lifecycle Management",
13-
"6 - Sample RAG app configuration"
12+
"5 - Databases for Elasticsearch",
13+
"6 - Sample RAG app - Application Lifecycle Management",
14+
"7 - Sample RAG app configuration"
1415
],
1516
"stack_inputs": {
1617
"prefix": "<YOUR PREFIX HERE>",

stack_definition.json

Lines changed: 73 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"members": [
7373
{
7474
"name": "1 - Account Infrastructure Base",
75-
"version_locator": "7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.be107739-fdfc-4089-95e0-def4abac847d-global",
75+
"version_locator": "7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.62aeb17c-2272-416c-b982-5f17fa508d04-global",
7676
"inputs": [
7777
{
7878
"name": "prefix",
@@ -262,7 +262,7 @@
262262
},
263263
{
264264
"name": "4 - WatsonX SaaS services",
265-
"version_locator": "1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc.c237751c-d3dd-4c23-b0b1-ba726d30c8e9-global",
265+
"version_locator": "1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc.a68377c5-2a73-4832-8fd9-ad5b73b5256b-global",
266266
"inputs": [
267267
{
268268
"name": "ibmcloud_api_key",
@@ -315,7 +315,57 @@
315315
]
316316
},
317317
{
318-
"name": "5 - Sample RAG app - Application Lifecycle Management",
318+
"name": "5 - Databases for Elasticsearch",
319+
"version_locator": "7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.c5ea982b-011a-46c8-a49d-0de273f40b46-global",
320+
"inputs": [
321+
{
322+
"name": "use_existing_resource_group",
323+
"value": true
324+
},
325+
{
326+
"name": "resource_group_name",
327+
"value": "ref:../../members/1 - Account Infrastructure Base/outputs/workload_resource_group_name"
328+
},
329+
{
330+
"name": "region",
331+
"value": "ref:../../inputs/region"
332+
},
333+
{
334+
"name": "prefix",
335+
"value": "ref:../../inputs/prefix"
336+
},
337+
{
338+
"name": "plan",
339+
"value": "enterprise"
340+
},
341+
{
342+
"name": "elasticsearch_version",
343+
"value": "8.12"
344+
},
345+
{
346+
"name": "existing_kms_instance_crn",
347+
"value": "ref:../../members/2a - Security Service - Key Management/outputs/kms_instance_crn"
348+
},
349+
{
350+
"name": "kms_endpoint_type",
351+
"value": "private"
352+
},
353+
{
354+
"name": "member_host_flavor",
355+
"value": "b3c.4x16.encrypted"
356+
},
357+
{
358+
"name": "service_credential_names",
359+
"value": {
360+
"elastic_db_admin" : "Administrator",
361+
"wxasst_db_user" : "Editor",
362+
"toolchain_db_user" : "Editor"
363+
}
364+
}
365+
]
366+
},
367+
{
368+
"name": "6 - Sample RAG app - Application Lifecycle Management",
319369
"version_locator": "1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc.cce4d1b1-c09a-4c23-8aba-92f6e9f38cda-global",
320370
"inputs": [
321371
{
@@ -417,8 +467,8 @@
417467
]
418468
},
419469
{
420-
"name": "6 - Sample RAG app configuration",
421-
"version_locator": "7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.af19228a-3182-46da-b52a-b1d9f662609d-global",
470+
"name": "7 - Sample RAG app configuration",
471+
"version_locator": "7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.92fcdabc-7c4e-450e-9f1b-e6b059119aa7-global",
422472
"inputs": [
423473
{
424474
"name": "toolchain_region",
@@ -446,11 +496,11 @@
446496
},
447497
{
448498
"name": "cd_pipeline_id",
449-
"value": "ref:../5 - Sample RAG app - Application Lifecycle Management/outputs/cd_pipeline_id"
499+
"value": "ref:../6 - Sample RAG app - Application Lifecycle Management/outputs/cd_pipeline_id"
450500
},
451501
{
452502
"name": "ci_pipeline_id",
453-
"value": "ref:../5 - Sample RAG app - Application Lifecycle Management/outputs/ci_pipeline_id"
503+
"value": "ref:../6 - Sample RAG app - Application Lifecycle Management/outputs/ci_pipeline_id"
454504
},
455505
{
456506
"name": "watson_machine_learning_instance_guid",
@@ -500,6 +550,22 @@
500550
}
501551
],
502552
"outputs": [
553+
{
554+
"name": "elasticsearch_hostname",
555+
"value": "ref:./members/5 - Databases for Elasticsearch/outputs/hostname"
556+
},
557+
{
558+
"name": "elasticsearch_port",
559+
"value": "ref:./members/5 - Databases for Elasticsearch/outputs/port"
560+
},
561+
{
562+
"name": "elasticsearch_service_credentials_json",
563+
"value": "ref:./members/5 - Databases for Elasticsearch/outputs/service_credentials_json"
564+
},
565+
{
566+
"name": "elasticsearch_crn",
567+
"value": "ref:./members/5 - Databases for Elasticsearch/outputs/crn"
568+
},
503569
{
504570
"name": "watsonx_project_url",
505571
"value": "ref:./members/6 - Sample RAG app configuration/outputs/watsonx_project_url"

0 commit comments

Comments
 (0)