File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
modules/meshcloud-replicator-service-principal Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ locals {
23
23
// Role Definition for the Replicator on the specified Scope
24
24
// ---------------------------------------------------------------------------
25
25
resource "azurerm_role_definition" "meshcloud_replicator" {
26
- name = var. service_principal_name
26
+ name = " ${ var . service_principal_name } -base "
27
27
scope = var. custom_role_scope
28
- description = " Permissions required by meshcloud in order to configure subscriptions and manage users"
28
+ description = " Permissions required by meshStack replicator in order to configure subscriptions and manage users"
29
29
30
30
permissions {
31
31
actions = concat ([
@@ -69,9 +69,9 @@ resource "azurerm_role_definition" "meshcloud_replicator" {
69
69
70
70
resource "azurerm_role_definition" "meshcloud_replicator_subscription_canceler" {
71
71
count = length (var. can_cancel_subscriptions_in_scopes ) > 0 ? 1 : 0
72
- name = var. service_principal_name
72
+ name = " ${ var . service_principal_name } -cancel-subscriptions "
73
73
scope = var. custom_role_scope
74
- description = " Permissions required by meshcloud in order to cancel subscriptions"
74
+ description = " Additional permissions required by meshStack replicator in order to cancel subscriptions"
75
75
76
76
permissions {
77
77
actions = [" Microsoft.Subscription/cancel/action" ]
You can’t perform that action at this time.
0 commit comments