Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
Update schema ownership (#818)
Browse files Browse the repository at this point in the history
* FIX AZURE EXTENSIONS

* FIX SCHEMA OWNERSHIP

* Update mockito monorepo (#833)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update schema ownership and force permission

---------

Co-authored-by: Kiran Kumar Yenigala <51748133+kiran-yenigala-hmcts@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored May 2, 2024
1 parent 061ca7e commit 40a0e82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infrastructure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ module "db-profile-sync-ref-data-v16" {
]

# Setup Access Reader db user
force_user_permissions_trigger = "1"
force_user_permissions_trigger = "2"

# Sets correct DB owner after migration to fix permissions
enable_schema_ownership = var.enable_schema_ownership
force_schema_ownership_trigger = "1"
force_schema_ownership_trigger = "2"
kv_subscription = var.kv_subscription
kv_name = data.azurerm_key_vault.rd_key_vault.name
user_secret_name = azurerm_key_vault_secret.POSTGRES-USER.name
Expand Down

0 comments on commit 40a0e82

Please sign in to comment.