Skip to content

Commit 8199164

Browse files
authored
test: bump ICD pg to 4.1.3 and override deletion protection (#678)
1 parent 048905a commit 8199164

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

examples/advanced/main.tf

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,12 @@ module "vpe_security_group" {
6464
##############################################################################
6565

6666
module "postgresql_db" {
67-
source = "terraform-ibm-modules/icd-postgresql/ibm"
68-
version = "4.0.1"
69-
resource_group_id = module.resource_group.resource_group_id
70-
name = "${var.prefix}-vpe-pg"
71-
region = var.region
67+
source = "terraform-ibm-modules/icd-postgresql/ibm"
68+
version = "4.1.3"
69+
resource_group_id = module.resource_group.resource_group_id
70+
name = "${var.prefix}-vpe-pg"
71+
region = var.region
72+
deletion_protection = false
7273
}
7374

7475

tests/pr_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ func TestRunBasicExample(t *testing.T) {
169169
func getFullConfigSolutionTestVariables(mainOptions *testschematic.TestSchematicOptions, existingOptions *testhelper.TestOptions) []testschematic.TestSchematicTerraformVar {
170170
// try to cover some variety of use cases
171171
testCloudSvcList := []map[string]any{
172-
{"service_name": "is"},
172+
// Avoid is until https://github.com/IBM-Cloud/terraform-provider-ibm/issues/6224 is reolved
173+
// {"service_name": "is"},
173174
{"service_name": "kms", "allow_dns_resolution_binding": true},
174175
{"service_name": "cloud-object-storage", "vpe_name": mainOptions.Prefix + "-cos"},
175176
}

0 commit comments

Comments
 (0)