Skip to content

Commit

Permalink
Removed unneeded config (#2526)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblackmoor authored Apr 24, 2024
1 parent 7337efd commit b329bde
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions infrastructure/tf-db-flexible.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,6 @@ locals {
db_name = "send_letter"
}

# Secrets for schema perms
data "azurerm_key_vault_secret" "POSTGRES-USER" {
name = "send-letter-service-POSTGRES-USER"
key_vault_id = module.send-letter-key-vault.key_vault_id
}

data "azurerm_key_vault_secret" "POSTGRES-PASS" {
name = "send-letter-service-POSTGRES-PASS"
key_vault_id = module.send-letter-key-vault.key_vault_id
}

module "postgresql" {
providers = {
azurerm.postgres_network = azurerm.postgres_network
Expand All @@ -38,9 +27,6 @@ module "postgresql" {
subnet_suffix = "expanded"

admin_user_object_id = var.jenkins_AAD_objectId
kv_name = module.send-letter-key-vault.key_vault_name
user_secret_name = data.azurerm_key_vault_secret.POSTGRES-USER.name
pass_secret_name = data.azurerm_key_vault_secret.POSTGRES-PASS.name

# Force user permissions
force_user_permissions_trigger = "1"
Expand Down

0 comments on commit b329bde

Please sign in to comment.