Skip to content

Commit

Permalink
expose secrets manager resource group input and mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-butler-irl committed Nov 29, 2024
1 parent d59a06f commit 23c7408
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 5 deletions.
31 changes: 28 additions & 3 deletions ibm_catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,20 @@
],
"catalog_id": "f64499c8-eb50-4985-bf91-29f9e605a433",
"optional": true,
"input_mapping": []
"input_mapping": [
{
"dependency_output": "secrets_manager_name",
"version_input": "secrets_manager_name"
},
{
"dependency_output": "resource_group_name",
"version_input": "existing_secrets_manager_resource_group"
},
{
"dependency_output": "secrets_manager_region",
"version_input": "region"
}
]
},
{
"name": "deploy-arch-ibm-account-infra-base",
Expand Down Expand Up @@ -251,6 +264,10 @@
"key": "existing_resource_group_name",
"required": false
},
{
"key": "existing_secrets_manager_resource_group",
"required": false
},
{
"key": "sample_app_git_url",
"required": false
Expand Down Expand Up @@ -471,13 +488,17 @@
"optional": true,
"on_by_default": true,
"input_mapping": [
{
{
"dependency_output": "secrets_manager_name",
"version_input": "secrets_manager_name"
},
{
"dependency_output": "resource_group_name",
"version_input": "existing_secrets_manager_resource_group"
},
{
"dependency_output": "secrets_manager_region",
"version_input": "secrets_manager_region"
"version_input": "region"
}
]
},
Expand Down Expand Up @@ -548,6 +569,10 @@
"key": "existing_resource_group_name",
"required": false
},
{
"key": "existing_secrets_manager_resource_group",
"required": false
},
{
"key": "sample_app_git_url",
"required": false
Expand Down
9 changes: 8 additions & 1 deletion solutions/basic/stack_definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@
"hidden": false,
"default": null
},
{
"name": "existing_secrets_manager_resource_group",
"required": false,
"type": "string",
"hidden": false,
"default": null
},
{
"name": "project_1_name",
"required": false,
Expand Down Expand Up @@ -127,7 +134,7 @@
},
{
"name": "sm_resource_group",
"value": "ref:../../inputs/resource_group_name"
"value": "ref:../../inputs/existing_secrets_manager_resource_group"
},
{
"name": "sm_name",
Expand Down
9 changes: 8 additions & 1 deletion solutions/standard/stack_definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@
"hidden": false,
"default": null
},
{
"name": "existing_secrets_manager_resource_group",
"required": false,
"type": "string",
"hidden": false,
"default": null
},
{
"name": "existing_kms_resource_group",
"required": false,
Expand Down Expand Up @@ -180,7 +187,7 @@
},
{
"name": "sm_resource_group",
"value": "ref:../../inputs/resource_group_name"
"value": "ref:../../inputs/existing_secrets_manager_resource_group"
},
{
"name": "sm_name",
Expand Down

0 comments on commit 23c7408

Please sign in to comment.