Moved code into sp.tf to make it more self-contained

This commit is contained in:
Tom Archer
2023-05-26 16:21:01 -07:00
parent c3623b46bd
commit 99fa801597
2 changed files with 10 additions and 10 deletions

View File

@ -8,12 +8,6 @@ resource "azurerm_resource_group" "rg" {
name = random_pet.rg_name.id
}
data "azurerm_client_config" "current" {}
locals {
current_user_id = coalesce(var.msi_id, data.azurerm_client_config.current.object_id)
}
resource "random_pet" "azurerm_kubernetes_cluster_name" {
prefix = "cluster"
}