Skip to content

Commit

Permalink
Fix description when using additional_resource_groups loop #74 (#78)
Browse files Browse the repository at this point in the history
Co-authored-by: mgmuk <[email protected]>
  • Loading branch information
mgmuk and mgmuk authored Aug 14, 2024
1 parent eb89712 commit 3ce2889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ resource "azurerm_role_assignment" "castai_node_resource_group" {
resource "azurerm_role_assignment" "castai_additional_resource_groups" {
for_each = toset(var.additional_resource_groups)
principal_id = azuread_service_principal.castai.id
description = "castai role assignment for resource group ${var.additional_resource_groups}"
description = "castai role assignment for resource group ${each.key}"
role_definition_id = azurerm_role_definition.castai.role_definition_resource_id
scope = each.key
}
Expand Down

0 comments on commit 3ce2889

Please sign in to comment.