File tree Expand file tree Collapse file tree 5 files changed +22
-5
lines changed Expand file tree Collapse file tree 5 files changed +22
-5
lines changed Original file line number Diff line number Diff line change 15
15
call-terraform-ci-pipeline :
16
16
uses : terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-terraform-module-ci.yml@v1.7.3
17
17
secrets : inherit
18
+ with :
19
+ craTarget : " examples/complete"
20
+ craGoalIgnoreFile : " cra-tf-validate-ignore-goals.json"
21
+ craEnvironmentVariables : " TF_VAR_existing_at_instance_crn=crn:v1:bluemix:public:logdnaat:eu-de:a/abac0df06b644a9cabc6e44f55b3880e:b1ef3365-dfbf-4d8f-8ac8-75f4f84d6f4a::"
Original file line number Diff line number Diff line change 3
3
<!-- Update the title to match the module name and add a description -->
4
4
# IBM Cloud Databases for ICD Postgresql module
5
5
<!-- UPDATE BADGE: Update the link for the following badge-->
6
- [ ![ Incubating (Not yet consumable )] ( https://img.shields.io/badge/status-Incubating %20(Not%20yet%20consumable)-red )] ( https://terraform-ibm-modules.github.io/documentation/#/badge-status )
6
+ [ ![ Stable (With quality checks )] ( https://img.shields.io/badge/Status-Stable %20(With%20quality%20checks)-green?style=plastic )] ( https://terraform-ibm-modules.github.io/documentation/#/badge-status )
7
7
[ ![ Build status] ( https://github.com/terraform-ibm-modules/terraform-ibm-module-template/actions/workflows/ci.yml/badge.svg )] ( https://github.com/terraform-ibm-modules/terraform-ibm-module-template/actions/workflows/ci.yml )
8
8
[ ![ pre-commit] ( https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white )] ( https://github.com/pre-commit/pre-commit )
9
9
[ ![ latest release] ( https://img.shields.io/github/v/release/terraform-ibm-modules/terraform-ibm-icd-postgresql?logo=GitHub&sort=semver )] ( https://github.com/terraform-ibm-modules/terraform-ibm-icd-postgresql/releases/latest )
Original file line number Diff line number Diff line change
1
+ {
2
+ "scc_goals" : [
3
+ {
4
+ "scc_goal_id" : " 3000225" ,
5
+ "description" : " Check whether Databases for PostgreSQL network access is restricted to a specific IP range" ,
6
+ "ignore_reason" : " Tracking in https://github.ibm.com/GoldenEye/issues/issues/3635" ,
7
+ "is_valid" : true
8
+ },
9
+ {
10
+ "scc_goal_id" : " 3000408" ,
11
+ "description" : " Check whether Flow Logs for VPC are enabled" ,
12
+ "ignore_reason" : " This is part of the test example and not the current module" ,
13
+ "is_valid" : false
14
+ }
15
+ ]
16
+ }
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ module "postgresql_db" {
89
89
resource_tags = var. resource_tags
90
90
cbr_rules = [
91
91
{
92
- name = " ${ var . prefix } -${ var . pg_version } postgres-zone"
92
+ name = var.pg_version == null ? " ${ var . prefix } -postgres-zone " : " ${ var . prefix } - ${ var . pg_version } - postgres-zone"
93
93
description = " sample rule"
94
94
enforcement_mode = " enabled" # Postgresql does not support report mode
95
95
account_id = data.ibm_iam_account_settings.iam_account_settings.account_id
Original file line number Diff line number Diff line change @@ -75,9 +75,6 @@ func TestRunCompleteExample(t *testing.T) {
75
75
func TestRunUpgradeExample (t * testing.T ) {
76
76
t .Parallel ()
77
77
78
- // TODO: Remove this line after the first merge to primary branch is complete to enable upgrade test
79
- t .Skip ("Skipping upgrade test until initial code is in primary branch" )
80
-
81
78
options := testhelper .TestOptionsDefaultWithVars (& testhelper.TestOptions {
82
79
Testing : t ,
83
80
TerraformDir : defaultExampleTerraformDir ,
You can’t perform that action at this time.
0 commit comments