Skip to content

Commit c453647

Browse files
author
Tim Jacomb
authored
DTSPO-266 Enable self service read only access (#82)
1 parent 86fbd9b commit c453647

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

infrastructure/main.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@ resource "azurerm_key_vault_secret" "POSTGRES_DATABASE" {
4141

4242
module "db-judicial-ref-data" {
4343
source = "git@github.com:hmcts/cnp-module-postgres?ref=master"
44-
product = join("-", [var.product, var.component, "postgres-db"])
44+
product = var.product
45+
component = var.component
46+
name = join("-", [var.product, var.component, "postgres-db"])
4547
location = var.location
4648
subscription = var.subscription
4749
env = var.env
4850
postgresql_user = "dbjuddata"
4951
database_name = "dbjuddata"
5052
common_tags = var.common_tags
5153
postgresql_version = var.postgresql_version
52-
}
54+
}

0 commit comments

Comments
 (0)