201-aks-log-analytics patch (#150)

* 201-aks-log-analytics patch
This commit is contained in:
JT
2023-02-13 17:47:34 +08:00
committed by GitHub
parent 107616137c
commit cab55217b4
8 changed files with 71 additions and 67 deletions

View File

@ -1,18 +1,14 @@
# The Azure Active Resource Manager Terraform provider
provider "azurerm" {
version = "=1.36.1"
}
# The Azure Active Directory Terraform provider
provider "azuread" {
version = "=0.6.0"
}
# 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}-rg"
location = "${var.location}"
name = "${var.name}-${var.environment}-${random_string.rg.result}-rg"
location = var.location
}