Skip to content

Commit

Permalink
user lowercase key vault name for role binding scopes (#26)
Browse files Browse the repository at this point in the history
* user lowercase key vault name for role binding scopes

* revert unnecessary provider upgrade
  • Loading branch information
duzitong authored Oct 16, 2024
1 parent 9316d57 commit 7d94d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rolebindings.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ resource "azurerm_role_assignment" "machine_role_assign" {
}

principal_id = each.value.principal_id
scope = local.key_vault.id
scope = replace(local.key_vault.id, var.keyvault_name, lower(var.keyvault_name))
role_definition_name = each.value.role_name

depends_on = [
Expand Down

0 comments on commit 7d94d6b

Please sign in to comment.