Skip to content

Commit

Permalink
add blob perm
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacavallaro committed Dec 3, 2024
1 parent d022802 commit 093c805
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions infra/resources/_modules/web_apps/op_func.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ resource "azurerm_role_assignment" "config_queue_op_func" {
principal_id = module.op_func.function_app.function_app.principal_id
}

resource "azurerm_role_assigment" "audit_event_container_op_func" {
scope = var.audit_storage.id
role_definition_name = "Storage Blob Data Contributor"
principal_id = module.op_func.function_app.function_app.principal_id
}

resource "azurerm_cosmosdb_sql_role_assignment" "op_func" {
resource_group_name = data.azurerm_cosmosdb_account.fims.resource_group_name
account_name = data.azurerm_cosmosdb_account.fims.name
Expand Down

0 comments on commit 093c805

Please sign in to comment.