Skip to content

Commit

Permalink
create sql admin
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasisnes committed Sep 27, 2024
1 parent 5219885 commit c2921bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion infra/modules/postgres_server/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ resource "azurerm_postgresql_flexible_server" "postgres_server" {
tenant_id = var.tenant_id
}
identity {
type = "SystemAssigned"
type = "UserAssigned"
identity_ids = [azurerm_user_assigned_identity.postgres_server_admin.id]
}

Expand Down
2 changes: 1 addition & 1 deletion infra/modules/postgres_server/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
output "id" {
value = azurerm_key_vault_key.postgres_server.id
value = azurerm_postgresql_flexible_server.postgres_server.id
description = "Postgres Flexible server AzureRM ID"
}

Expand Down

0 comments on commit c2921bc

Please sign in to comment.