Skip to content

Commit

Permalink
fix: add roles for legacy telemetry provider (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredfholgate authored Oct 31, 2024
1 parent 612930a commit 1d069c1
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 12 deletions.
12 changes: 8 additions & 4 deletions alz/azuredevops/variables.hidden.tf
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ variable "custom_role_definitions_terraform" {
"Microsoft.Management/managementGroups/write",
"Microsoft.Management/managementGroups/subscriptions/read",
"Microsoft.Authorization/*/read",
"Microsoft.Resources/deployments/write"
"Microsoft.Resources/deployments/write",
"Microsoft.Resources/deployments/exportTemplate/action"
]
not_actions = []
}
Expand All @@ -210,7 +211,8 @@ variable "custom_role_definitions_terraform" {
"Microsoft.Management/managementGroups/read",
"Microsoft.Management/managementGroups/subscriptions/read",
"Microsoft.Authorization/*/read",
"Microsoft.Resources/deployments/write"
"Microsoft.Resources/deployments/write",
"Microsoft.Resources/deployments/exportTemplate/action"
]
not_actions = []
}
Expand All @@ -221,7 +223,8 @@ variable "custom_role_definitions_terraform" {
permissions = {
actions = [
"*",
"Microsoft.Resources/deployments/write"
"Microsoft.Resources/deployments/write",
"Microsoft.Resources/deployments/exportTemplate/action"
]
not_actions = []
}
Expand All @@ -232,7 +235,8 @@ variable "custom_role_definitions_terraform" {
permissions = {
actions = [
"*/read",
"Microsoft.Resources/deployments/write"
"Microsoft.Resources/deployments/write",
"Microsoft.Resources/deployments/exportTemplate/action"
]
not_actions = []
}
Expand Down
12 changes: 8 additions & 4 deletions alz/github/variables.hidden.tf
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ variable "custom_role_definitions_terraform" {
"Microsoft.Management/managementGroups/write",
"Microsoft.Management/managementGroups/subscriptions/read",
"Microsoft.Authorization/*/read",
"Microsoft.Resources/deployments/write"
"Microsoft.Resources/deployments/write",
"Microsoft.Resources/deployments/exportTemplate/action"
]
not_actions = []
}
Expand All @@ -210,7 +211,8 @@ variable "custom_role_definitions_terraform" {
"Microsoft.Management/managementGroups/read",
"Microsoft.Management/managementGroups/subscriptions/read",
"Microsoft.Authorization/*/read",
"Microsoft.Resources/deployments/write"
"Microsoft.Resources/deployments/write",
"Microsoft.Resources/deployments/exportTemplate/action"
]
not_actions = []
}
Expand All @@ -221,7 +223,8 @@ variable "custom_role_definitions_terraform" {
permissions = {
actions = [
"*",
"Microsoft.Resources/deployments/write"
"Microsoft.Resources/deployments/write",
"Microsoft.Resources/deployments/exportTemplate/action"
]
not_actions = []
}
Expand All @@ -232,7 +235,8 @@ variable "custom_role_definitions_terraform" {
permissions = {
actions = [
"*/read",
"Microsoft.Resources/deployments/write"
"Microsoft.Resources/deployments/write",
"Microsoft.Resources/deployments/exportTemplate/action"
]
not_actions = []
}
Expand Down
12 changes: 8 additions & 4 deletions alz/local/variables.hidden.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ variable "custom_role_definitions_terraform" {
"Microsoft.Management/managementGroups/write",
"Microsoft.Management/managementGroups/subscriptions/read",
"Microsoft.Authorization/*/read",
"Microsoft.Resources/deployments/write"
"Microsoft.Resources/deployments/write",
"Microsoft.Resources/deployments/exportTemplate/action"
]
not_actions = []
}
Expand All @@ -99,7 +100,8 @@ variable "custom_role_definitions_terraform" {
"Microsoft.Management/managementGroups/read",
"Microsoft.Management/managementGroups/subscriptions/read",
"Microsoft.Authorization/*/read",
"Microsoft.Resources/deployments/write"
"Microsoft.Resources/deployments/write",
"Microsoft.Resources/deployments/exportTemplate/action"
]
not_actions = []
}
Expand All @@ -110,7 +112,8 @@ variable "custom_role_definitions_terraform" {
permissions = {
actions = [
"*",
"Microsoft.Resources/deployments/write"
"Microsoft.Resources/deployments/write",
"Microsoft.Resources/deployments/exportTemplate/action"
]
not_actions = []
}
Expand All @@ -121,7 +124,8 @@ variable "custom_role_definitions_terraform" {
permissions = {
actions = [
"*/read",
"Microsoft.Resources/deployments/write"
"Microsoft.Resources/deployments/write",
"Microsoft.Resources/deployments/exportTemplate/action"
]
not_actions = []
}
Expand Down

0 comments on commit 1d069c1

Please sign in to comment.