Skip to content

Commit

Permalink
Update bkp sa permissions
Browse files Browse the repository at this point in the history
Disable blob anonymous access
  • Loading branch information
RMcVelia committed Nov 20, 2023
1 parent 4d19aa6 commit 5f83d0e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions aks/postgres/resources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,12 @@ resource "azurerm_postgresql_flexible_server_database" "main" {
resource "azurerm_storage_account" "backup" {
count = local.azure_enable_backup_storage ? 1 : 0

name = "${var.azure_resource_prefix}${var.service_short}dbbkp${var.config_short}sa"
location = data.azurerm_resource_group.main[0].location
resource_group_name = data.azurerm_resource_group.main[0].name
account_tier = "Standard"
account_replication_type = "GRS"
name = "${var.azure_resource_prefix}${var.service_short}dbbkp${var.config_short}sa"
location = data.azurerm_resource_group.main[0].location
resource_group_name = data.azurerm_resource_group.main[0].name
account_tier = "Standard"
account_replication_type = "GRS"
allow_nested_items_to_be_public = false

lifecycle { ignore_changes = [tags] }
}
Expand Down

0 comments on commit 5f83d0e

Please sign in to comment.