Skip to content

Commit 6ca1a76

Browse files
fix: updating the sorting of input variables for the DA (#265)
1 parent d122d06 commit 6ca1a76

File tree

2 files changed

+273
-0
lines changed

2 files changed

+273
-0
lines changed

ibm_catalog.json

Lines changed: 269 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,22 @@
4444
]
4545
},
4646
"configuration":[
47+
{
48+
"key": "ibmcloud_api_key"
49+
},
50+
{
51+
"key": "watsonx_admin_api_key"
52+
},
53+
{
54+
"key": "prefix"
55+
},
56+
{
57+
"key": "use_existing_resource_group",
58+
"required": true
59+
},
60+
{
61+
"key": "resource_group_name"
62+
},
4763
{
4864
"key": "provider_visibility",
4965
"options": [
@@ -60,7 +76,260 @@
6076
"value": "public-and-private"
6177
}
6278
]
79+
},
80+
{
81+
"key": "toolchain_region",
82+
"options": [
83+
{
84+
"displayname": "Osaka (jp-osa)",
85+
"value": "jp-osa"
86+
},
87+
{
88+
"displayname": "Sydney (au-syd)",
89+
"value": "au-syd"
90+
},
91+
{
92+
"displayname": "Tokyo (jp-tok)",
93+
"value": "jp-tok"
94+
},
95+
{
96+
"displayname": "Frankfurt (eu-de)",
97+
"value": "eu-de"
98+
},
99+
{
100+
"displayname": "London (eu-gb)",
101+
"value": "eu-gb"
102+
},
103+
{
104+
"displayname": "Madrid (eu-es)",
105+
"value": "eu-es"
106+
},
107+
{
108+
"displayname": "Dallas (us-south)",
109+
"value": "us-south"
110+
},
111+
{
112+
"displayname": "Toronto (ca-tor)",
113+
"value": "ca-tor"
114+
},
115+
{
116+
"displayname": "Washington DC (us-east)",
117+
"value": "us-east"
118+
},
119+
{
120+
"displayname": "Sao Paolo (br-sao)",
121+
"value": "br-sao"
122+
}
123+
124+
]
125+
},
126+
{
127+
"key": "toolchain_resource_group",
128+
"required": true,
129+
"custom_config": {
130+
"type": "resource_group",
131+
"grouping": "deployment",
132+
"original_grouping": "deployment",
133+
"config_constraints": {
134+
"identifier": "rg_name"
135+
}
136+
}
137+
},
138+
{
139+
"key": "create_continuous_delivery_service_instance"
140+
},
141+
{
142+
"key": "ci_pipeline_id"
143+
},
144+
{
145+
"key": "cd_pipeline_id"
146+
},
147+
{
148+
"key": "inventory_repo_url"
149+
},
150+
{
151+
"key": "watson_assistant_instance_id"
152+
},
153+
{
154+
"key": "watson_assistant_region",
155+
"options": [
156+
{
157+
"displayname": "Sydney (au-syd)",
158+
"value": "au-syd"
159+
},
160+
{
161+
"displayname": "Tokyo (jp-tok)",
162+
"value": "jp-tok"
163+
},
164+
{
165+
"displayname": "Frankfurt (eu-de)",
166+
"value": "eu-de"
167+
},
168+
{
169+
"displayname": "London (eu-gb)",
170+
"value": "eu-gb"
171+
},
172+
{
173+
"displayname": "Dallas (us-south)",
174+
"value": "us-south"
175+
},
176+
{
177+
"displayname": "Washington DC (us-east)",
178+
"value": "us-east"
179+
}
180+
]
181+
},
182+
{
183+
"key": "watson_discovery_instance_id"
184+
},
185+
{
186+
"key": "watson_discovery_region",
187+
"options": [
188+
{
189+
"displayname": "Sydney (au-syd)",
190+
"value": "au-syd"
191+
},
192+
{
193+
"displayname": "Tokyo (jp-tok)",
194+
"value": "jp-tok"
195+
},
196+
{
197+
"displayname": "Frankfurt (eu-de)",
198+
"value": "eu-de"
199+
},
200+
{
201+
"displayname": "London (eu-gb)",
202+
"value": "eu-gb"
203+
},
204+
{
205+
"displayname": "Dallas (us-south)",
206+
"value": "us-south"
207+
},
208+
{
209+
"displayname": "Washington DC (us-east)",
210+
"value": "us-east"
211+
}
212+
]
213+
},
214+
{
215+
"key": "watson_machine_learning_instance_crn"
216+
},
217+
{
218+
"key": "watson_machine_learning_instance_guid"
219+
},
220+
{
221+
"key": "watson_machine_learning_instance_resource_name"
222+
},
223+
{
224+
"key": "watson_project_name"
225+
},
226+
{
227+
"key": "watson_project_sensitive"
228+
},
229+
{
230+
"key": "cos_kms_crn"
231+
},
232+
{
233+
"key": "cos_kms_key_crn"
234+
},
235+
{
236+
"key": "cos_kms_new_key_name"
237+
},
238+
{
239+
"key": "cos_kms_ring_id"
240+
},
241+
{
242+
"key": "elastic_instance_crn"
243+
},
244+
{
245+
"key": "elastic_credentials_name"
246+
},
247+
{
248+
"key": "elastic_index_name"
249+
},
250+
{
251+
"key": "elastic_upload_sample_data"
252+
},
253+
{
254+
"key": "signing_key"
255+
},
256+
{
257+
"key": "create_secrets"
258+
},
259+
{
260+
"key": "secrets_manager_endpoint_type",
261+
"options": [
262+
{
263+
"displayname": "private",
264+
"value": "private"
265+
},
266+
{
267+
"displayname": "public",
268+
"value": "public"
269+
}
270+
]
271+
},
272+
{
273+
"key": "secrets_manager_guid"
274+
},
275+
{
276+
"key": "secrets_manager_region",
277+
"options": [
278+
{
279+
"displayname": "Osaka (jp-osa)",
280+
"value": "jp-osa"
281+
},
282+
{
283+
"displayname": "Sydney (au-syd)",
284+
"value": "au-syd"
285+
},
286+
{
287+
"displayname": "Tokyo (jp-tok)",
288+
"value": "jp-tok"
289+
},
290+
{
291+
"displayname": "Frankfurt (eu-de)",
292+
"value": "eu-de"
293+
},
294+
{
295+
"displayname": "London (eu-gb)",
296+
"value": "eu-gb"
297+
},
298+
{
299+
"displayname": "Madrid (eu-es)",
300+
"value": "eu-es"
301+
},
302+
{
303+
"displayname": "Dallas (us-south)",
304+
"value": "us-south"
305+
},
306+
{
307+
"displayname": "Toronto (ca-tor)",
308+
"value": "ca-tor"
309+
},
310+
{
311+
"displayname": "Washington DC (us-east)",
312+
"value": "us-east"
313+
},
314+
{
315+
"displayname": "Sao Paolo (br-sao)",
316+
"value": "br-sao"
317+
}
318+
]
319+
},
320+
{
321+
"key": "trigger_ci_pipeline_run"
322+
},
323+
{
324+
"key": "cluster_name"
325+
},
326+
{
327+
"key": "cluster_zone_count"
328+
},
329+
{
330+
"key": "provision_public_ingress"
63331
}
332+
64333
],
65334
"release_notes_url": "RELEASE NOTES URL",
66335
"outputs": [],

solutions/banking/variables.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ variable "secrets_manager_endpoint_type" {
194194
type = string
195195
description = "The endpoint type to communicate with the provided secrets manager instance. Possible values are `public` or `private`"
196196
default = "private"
197+
validation {
198+
condition = contains(["private", "public"], var.secrets_manager_endpoint_type)
199+
error_message = "The specified service endpoint is not valid. Supported options are public, or private."
200+
}
197201
}
198202

199203
variable "secrets_manager_guid" {

0 commit comments

Comments
 (0)