fix 201-aks-helm (#183)

This commit is contained in:
lonegunmanb
2023-03-01 10:23:16 +08:00
committed by GitHub
parent 4b813f543c
commit 819a4b141d
7 changed files with 66 additions and 113 deletions

View File

@ -1,18 +1,7 @@
# 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_pet" "rand" {}
# 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}-rg-${random_pet.rand.id}"
location = var.location
}