Skip to content

Commit 884fb22

Browse files
committed
address feedback
1 parent 62fac05 commit 884fb22

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

.catalog-onboard-pipeline.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,11 @@ offerings:
1212
scc:
1313
instance_id: 1c7d5f78-9262-44c3-b779-b28fe4d88c37
1414
region: us-south
15+
scope_resource_group_var_name: existing_resource_group_name
16+
- name: security-enforced
17+
mark_ready: true
18+
install_type: fullstack
19+
scc:
20+
instance_id: 1c7d5f78-9262-44c3-b779-b28fe4d88c37
21+
region: us-south
22+
scope_resource_group_var_name: existing_resource_group_name

cra-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# More info about this file at https://github.com/terraform-ibm-modules/common-pipeline-assets/blob/main/.github/workflows/terraform-test-pipeline.md#cra-config-yaml
22
version: "v1"
33
CRA_TARGETS:
4-
- CRA_TARGET: "solutions/fully-configurable"
5-
CRA_IGNORE_RULES_FILE: "cra-tf-validate-ignore-rules.json"
6-
PROFILE_ID: "fe96bd4d-9b37-40f2-b39f-a62760e326a3" # SCC profile ID (currently set to 'IBM Cloud Framework for Financial Services' '1.7.0' profile).
7-
CRA_ENVIRONMENT_VARIABLES:
4+
- CRA_TARGET: "solutions/fully-configurable" # Target directory for CRA scan. If not provided, the CRA Scan will not be run.
5+
CRA_IGNORE_RULES_FILE: "cra-tf-validate-ignore-rules.json" # CRA Ignore file to use. If not provided, it checks the repo root directory for `cra-tf-validate-ignore-rules.json`
6+
PROFILE_ID: "fe96bd4d-9b37-40f2-b39f-a62760e326a3" # SCC profile ID (currently set to 'IBM Cloud Framework for Financial Services' '1.7.0' profile).
7+
CRA_ENVIRONMENT_VARIABLES: # An optional map of environment variables for CRA, where the key is the variable name and value is the value. Useful for providing TF_VARs.
88
TF_VAR_existing_kms_instance_crn: "crn:v1:bluemix:public:hs-crypto:us-south:a/abac0df06b644a9cabc6e44f55b3880e:e6dce284-e80f-46e1-a3c1-830f7adff7a9::"
99
TF_VAR_existing_resource_group_name: "geretain-test-redis"
1010
TF_VAR_kms_encryption_enabled: true

ibm_catalog.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,6 @@
514514
}
515515
]
516516
},
517-
{
518-
"key": "plan"
519-
},
520517
{
521518
"key": "mongodb_version",
522519
"required": true,
@@ -531,6 +528,9 @@
531528
}
532529
]
533530
},
531+
{
532+
"key": "plan"
533+
},
534534
{
535535
"key": "name"
536536
},

solutions/fully-configurable/catalogValidationValues.json.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"region": "us-south",
44
"resource_tags": $TAGS,
55
"name": $PREFIX,
6-
"existing_resource_group_name": $PREFIX,
6+
"existing_resource_group_name": "geretain-test-mongo",
77
"existing_kms_instance_crn": $HPCS_US_SOUTH_CRN,
88
"kms_encryption_enabled": true
99
}

solutions/fully-configurable/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ variable "member_cpu_count" {
122122
variable "member_disk_mb" {
123123
type = number
124124
description = "The disk that is allocated per member. [Learn more](https://cloud.ibm.com/docs/databases-for-mongodb?topic=databases-for-mongodb-resources-scaling)."
125-
default = 10240
125+
default = 5120
126126
}
127127

128128
variable "member_host_flavor" {

solutions/security-enforced/catalogValidationValues.json.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"region": "us-south",
44
"resource_tags": $TAGS,
55
"name": $PREFIX,
6-
"existing_resource_group_name": $PREFIX,
6+
"existing_resource_group_name": "geretain-test-mongo",
77
"existing_kms_instance_crn": $HPCS_US_SOUTH_CRN
88
}

0 commit comments

Comments
 (0)