Skip to content

Commit 4a7d4f2

Browse files
committed
SKIP UPGRADE TEST
1 parent e4798d0 commit 4a7d4f2

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

cra-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CRA_TARGETS:
55
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`
66
PROFILE_ID: "fe96bd4d-9b37-40f2-b39f-a62760e326a3" # SCC profile ID (currently set to 'IBM Cloud Framework for Financial Services' '1.7.0' profile).
77
CRA_ENVIRONMENT_VARIABLES:
8+
TF_VAR_prefix: "test"
89
TF_VAR_existing_kms_instance_crn: "crn:v1:bluemix:public:hs-crypto:us-south:a/abac0df06b644a9cabc6e44f55b3880e:e6dce284-e80f-46e1-a3c1-830f7adff7a9::"
910
TF_VAR_existing_kms_key_crn: "crn:v1:bluemix:public:hs-crypto:us-south:a/abac0df06b644a9cabc6e44f55b3880e:e6dce284-e80f-46e1-a3c1-830f7adff7a9:key:76170fae-4e0c-48c3-8ebe-326059ebb533"
1011
TF_VAR_provider_visibility: "public"

tests/pr_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func TestRunFullyConfigurableUpgradeSolution(t *testing.T) {
130130

131131
options.TerraformVars = map[string]interface{}{
132132
"prefix": options.Prefix,
133-
"access_tags": permanentResources["accessTags"],
133+
"elasticsearch_access_tags": permanentResources["accessTags"],
134134
"existing_kms_instance_crn": permanentResources["hpcs_south_crn"],
135135
"kms_endpoint_type": "public",
136136
"existing_resource_group_name": resourceGroup,
@@ -318,11 +318,11 @@ func TestPlanValidation(t *testing.T) {
318318
options.TerraformOptions.NoColor = true
319319
options.TerraformOptions.Logger = logger.Discard
320320
options.TerraformOptions.Vars = map[string]interface{}{
321-
"prefix": options.Prefix,
322-
"region": "us-south",
323-
"elasticsearch_version": "8.10",
324-
"provider_visibility": "public",
325-
"resource_group_name": options.Prefix,
321+
"prefix": options.Prefix,
322+
"region": "us-south",
323+
"elasticsearch_version": "8.10",
324+
"provider_visibility": "public",
325+
"existing_resource_group_name": options.Prefix,
326326
}
327327

328328
// Test the DA when using Elser model

0 commit comments

Comments
 (0)