File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ resource "azurerm_role_assignment" "github_actions_rbac_admin" {
177177 (
178178 (!(ActionMatches{'Microsoft.Authorization/roleAssignments/write'}))
179179 OR
180- (@Request[Microsoft.Authorization/roleAssignments:RoleDefinitionId] ForAnyOfAllValues :GuidNotEquals {
180+ (@Request[Microsoft.Authorization/roleAssignments:RoleDefinitionId] ForAllOfAllValues :GuidNotEquals {
181181 ${ data . azurerm_role_definition . owner . id } ,
182182 ${ data . azurerm_role_definition . user_access_administrator . id } ,
183183 ${ data . azurerm_role_definition . rbac_administrator . id }
@@ -187,7 +187,7 @@ resource "azurerm_role_assignment" "github_actions_rbac_admin" {
187187 (
188188 (!(ActionMatches{'Microsoft.Authorization/roleAssignments/delete'}))
189189 OR
190- (@Resource[Microsoft.Authorization/roleAssignments:RoleDefinitionId] ForAnyOfAllValues :GuidNotEquals {
190+ (@Resource[Microsoft.Authorization/roleAssignments:RoleDefinitionId] ForAllOfAllValues :GuidNotEquals {
191191 ${ data . azurerm_role_definition . owner . id } ,
192192 ${ data . azurerm_role_definition . user_access_administrator . id } ,
193193 ${ data . azurerm_role_definition . rbac_administrator . id }
You can’t perform that action at this time.
0 commit comments