Skip to content

Commit b6ec778

Browse files
chore: back up example fix (#692)
1 parent 0c5ecd2 commit b6ec778

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

examples/backup/main.tf

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ module "resource_group" {
1111
}
1212

1313
module "postgresql_db" {
14-
count = var.postgresql_db_backup_crn != null ? 0 : 1
15-
source = "../.."
16-
resource_group_id = module.resource_group.resource_group_id
17-
name = "${var.prefix}-postgres"
18-
postgresql_version = var.postgresql_version
19-
region = var.region
20-
tags = var.resource_tags
21-
access_tags = var.access_tags
22-
member_host_flavor = "multitenant"
14+
count = var.postgresql_db_backup_crn != null ? 0 : 1
15+
source = "../.."
16+
resource_group_id = module.resource_group.resource_group_id
17+
name = "${var.prefix}-postgres"
18+
postgresql_version = var.postgresql_version
19+
region = var.region
20+
tags = var.resource_tags
21+
access_tags = var.access_tags
22+
deletion_protection = false
23+
member_host_flavor = "multitenant"
2324
}
2425

2526
data "ibm_database_backups" "backup_database" {

0 commit comments

Comments
 (0)