lonegunmanb 343534d2ec
201-aks-rbac-dashboard-admin patch (#148)
* fix 201-aks-rbac-dashboard-admin

* remove azuread provider block

* rename aks resource to main

---------

Co-authored-by: zjhe <hezijie@microsoft.com>
2023-02-22 09:32:13 +08:00

15 lines
401 B
HCL

# Reference to the current subscription. Used when creating role assignments
data "azurerm_subscription" "current" {}
resource "random_string" "rg" {
length = 8
special = false
upper = false
}
# The main resource group for this deployment
resource "azurerm_resource_group" "default" {
name = "${var.name}-${var.environment}-${random_string.rg.result}-rg"
location = var.location
}