Skip to content

Commit 52fb3f1

Browse files
feat: addon poc content
1 parent 7de80e9 commit 52fb3f1

File tree

2 files changed

+88
-4
lines changed

2 files changed

+88
-4
lines changed

ibm_catalog.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,58 @@
8080
}
8181
],
8282
"dependency_version_2": true,
83+
"configuration": [
84+
{
85+
"key": "prefix",
86+
"type": "string",
87+
"description": "A prefix added to the name of all resources created by this solution. Used to avoid name clashes in the target account when existing this solution multiple times.",
88+
"default_value": "rag",
89+
"required": true
90+
},
91+
{
92+
"key": "ibmcloud_api_key",
93+
"type": "password",
94+
"description": "The API Key used to provision all resources created in this solution.",
95+
"required": true
96+
},
97+
{
98+
"key": "signing_key",
99+
"type": "password",
100+
"description": "The key used to sign the application image built by the CI pipeline deployed in this solution; please refer to the documentation at https://github.com/terraform-ibm-modules/stack-retrieval-augmented-generation/blob/main/README.md for generating the key; if not set, all resources will deploy successfully, but the initial CI pipeline execution will fail at the signing step.",
101+
"display_name": "Multiline secure value",
102+
"default_value": "replace",
103+
"required": false,
104+
"custom_config": {
105+
"type": "multiline_secure_value",
106+
"grouping": "deployment",
107+
"original_grouping": "deployment"
108+
}
109+
},
110+
{
111+
"key": "region",
112+
"type": "string",
113+
"default_value": "us-south",
114+
"description": "The region in which all resources are deployed.",
115+
"required": false,
116+
"options": [
117+
{
118+
"displayname": "us-south",
119+
"value": "us-south"
120+
},
121+
{
122+
"displayname": "eu-de",
123+
"value": "eu-de"
124+
}
125+
]
126+
},
127+
{
128+
"key": "existing_resource_group_name",
129+
"type": "string",
130+
"default_value": "__NULL__",
131+
"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.",
132+
"required": false
133+
}
134+
],
83135
"release_notes_url": "RELEASE NOTES URL",
84136
"outputs": [
85137
],

solutions/banking/stack_definition.json

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
{
22
"inputs": [
3+
{
4+
"name": "prefix",
5+
"required": true,
6+
"type": "string",
7+
"hidden": false,
8+
"default": "rag"
9+
},
10+
{
11+
"name": "existing_resource_group_name",
12+
"required": false,
13+
"type": "string",
14+
"hidden": false,
15+
"default": null
16+
},
17+
{
18+
"name": "region",
19+
"required": false,
20+
"type": "string",
21+
"hidden": false,
22+
"default": "us-south"
23+
},
24+
{
25+
"name": "signing_key",
26+
"required": false,
27+
"type": "password",
28+
"hidden": false,
29+
"default": "replace"
30+
}
331
],
432
"members": [
533
{
@@ -87,16 +115,20 @@
87115
],
88116
"outputs": [
89117
{
90-
"name": "watsonx_project_url"
118+
"name": "watsonx_project_url",
119+
"value": "ref:./members/Testing - Sample RAG App Configuration/outputs/watsonx_project_url"
91120
},
92121
{
93-
"name": "watsonx_project_id"
122+
"name": "watsonx_project_id",
123+
"value": "ref:./members/Testing - Sample RAG App Configuration/outputs/watsonx_project_id"
94124
},
95125
{
96-
"name": "watson_discovery_api_url"
126+
"name": "watson_discovery_api_url",
127+
"value": "ref:./members/Testing - Sample RAG App Configuration/outputs/watson_discovery_api_url"
97128
},
98129
{
99-
"name": "watson_discovery_project_id"
130+
"name": "watson_discovery_project_id",
131+
"value": "ref:./members/Testing - Sample RAG App Configuration/outputs/watson_discovery_project_id"
100132
}
101133
]
102134
}

0 commit comments

Comments
 (0)