From 242e19fa7d85eec0bc563eada602185709e58fd2 Mon Sep 17 00:00:00 2001 From: Olli Janatuinen Date: Mon, 21 Mar 2022 11:24:44 +0100 Subject: [PATCH] Add type to custom role definitions --- .../definitions/caf-application-owner-role.bicep | 1 + .../definitions/caf-network-management-role.bicep | 1 + .../definitions/caf-security-operations-role.bicep | 1 + .../definitions/caf-subscription-owner-role.bicep | 1 + 4 files changed, 4 insertions(+) diff --git a/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-application-owner-role.bicep b/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-application-owner-role.bicep index 69d766b04..f6f92e7de 100644 --- a/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-application-owner-role.bicep +++ b/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-application-owner-role.bicep @@ -13,6 +13,7 @@ resource resRoleDefinition 'Microsoft.Authorization/roleDefinitions@2018-01-01-p properties: { roleName: varRole.name description: varRole.description + type: 'CustomRole' permissions: [ { actions: [ diff --git a/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-network-management-role.bicep b/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-network-management-role.bicep index afb2057e3..dc308145e 100644 --- a/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-network-management-role.bicep +++ b/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-network-management-role.bicep @@ -13,6 +13,7 @@ resource resRoleDefinition 'Microsoft.Authorization/roleDefinitions@2018-01-01-p properties: { roleName: varRole.name description: varRole.description + type: 'CustomRole' permissions: [ { actions: [ diff --git a/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-security-operations-role.bicep b/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-security-operations-role.bicep index 3b02f2f76..d316107fd 100644 --- a/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-security-operations-role.bicep +++ b/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-security-operations-role.bicep @@ -13,6 +13,7 @@ resource resRoleDefinition 'Microsoft.Authorization/roleDefinitions@2018-01-01-p properties: { roleName: varRole.name description: varRole.description + type: 'CustomRole' permissions: [ { actions: [ diff --git a/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-subscription-owner-role.bicep b/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-subscription-owner-role.bicep index ddaa6c780..9c2ab55f8 100644 --- a/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-subscription-owner-role.bicep +++ b/infra-as-code/bicep/modules/customRoleDefinitions/definitions/caf-subscription-owner-role.bicep @@ -13,6 +13,7 @@ resource resRoleDefinition 'Microsoft.Authorization/roleDefinitions@2018-01-01-p properties: { roleName: varRole.name description: varRole.description + type: 'CustomRole' permissions: [ { actions: [