Skip to content

Commit

Permalink
Temp disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
fwikestad committed Apr 18, 2024
1 parent 6e250dc commit 78a901a
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions Core/rbac.tf
Original file line number Diff line number Diff line change
Expand Up @@ -108,25 +108,25 @@ resource "azurerm_role_assignment" "sandbox_contributor" {


##TC24
data "azuread_group" "TC24-Deltakere" {
display_name = "TC24-Deltakere"
security_enabled = true
}

resource "azurerm_role_assignment" "Deltaker-LZ-Owner" {
scope = "/providers/Microsoft.Management/managementGroups/${var.root_id}-landing-zones"
role_definition_name = "Owner"
principal_id = data.azuread_group.TC24-Deltakere.object_id
}

resource "azurerm_role_assignment" "Deltaker-New-Subs-Owner" {
scope = "/providers/Microsoft.Management/managementGroups/new-subscriptions"
role_definition_name = "Owner"
principal_id = data.azuread_group.TC24-Deltakere.object_id
}

resource "azurerm_role_assignment" "Deltaker-Hub-Network-Contributor" {
scope = "/providers/Microsoft.Management/managementGroups/${var.root_id}-connectivity"
role_definition_name = "Network Contributor"
principal_id = data.azuread_group.TC24-Deltakere.object_id
}
# data "azuread_group" "TC24-Deltakere" {
# display_name = "TC24-Deltakere"
# security_enabled = true
# }

# resource "azurerm_role_assignment" "Deltaker-LZ-Owner" {
# scope = "/providers/Microsoft.Management/managementGroups/${var.root_id}-landing-zones"
# role_definition_name = "Owner"
# principal_id = data.azuread_group.TC24-Deltakere.object_id
# }

# resource "azurerm_role_assignment" "Deltaker-New-Subs-Owner" {
# scope = "/providers/Microsoft.Management/managementGroups/new-subscriptions"
# role_definition_name = "Owner"
# principal_id = data.azuread_group.TC24-Deltakere.object_id
# }

# resource "azurerm_role_assignment" "Deltaker-Hub-Network-Contributor" {
# scope = "/providers/Microsoft.Management/managementGroups/${var.root_id}-connectivity"
# role_definition_name = "Network Contributor"
# principal_id = data.azuread_group.TC24-Deltakere.object_id
# }

0 comments on commit 78a901a

Please sign in to comment.