Skip to content

Commit

Permalink
fix(rbac): Adding diagnostic_storage_accounts to rbac scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
arne21a committed Mar 15, 2024
1 parent 61f82e1 commit fd10ebc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles.tf
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ locals {
batch_accounts = local.combined_objects_batch_accounts
data_factory = local.combined_objects_data_factory
databricks_workspaces = local.combined_objects_databricks_workspaces
diagnostic_storage_accounts = local.current_objects_diagnostic_storage_accounts
dns_zones = local.combined_objects_dns_zones
event_hub_namespaces = local.combined_objects_event_hub_namespaces
function_apps = local.combined_objects_function_apps
Expand Down Expand Up @@ -173,6 +174,11 @@ locals {
(var.current_landingzone_key) = merge(local.combined_objects_log_analytics, local.combined_diagnostics.log_analytics)
}
)
current_objects_diagnostic_storage_accounts = tomap(
{
(var.current_landingzone_key) = merge(local.combined_objects_diagnostic_storage_accounts, local.combined_diagnostics.storage_accounts)
}
)

logged_in = tomap(
{
Expand Down

0 comments on commit fd10ebc

Please sign in to comment.