Skip to content

Commit

Permalink
Merge pull request #1944 from arne21a/feature/#1943-rbac-for-diagnost…
Browse files Browse the repository at this point in the history
…ic_storage_accounts

fix(rbac): Adding diagnostic_storage_accounts to rbac scopes
  • Loading branch information
arnaudlh authored May 2, 2024
2 parents 51be075 + fd10ebc commit 1819a9f
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 @@ -127,6 +127,7 @@ locals {
cognitive_services_account = local.combined_objects_cognitive_services_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 @@ -175,6 +176,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 1819a9f

Please sign in to comment.