From 71cee46b77a2db239e97d5adc568a8c0e0cfebe0 Mon Sep 17 00:00:00 2001 From: Tom Archer Date: Fri, 12 May 2023 17:10:12 -0700 Subject: [PATCH] Ran 'terraform fmt' --- .../201-k8s-cluster-with-tf-and-aks/main.tf | 2 +- .../201-k8s-cluster-with-tf-and-aks/variables.tf | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/quickstart/201-k8s-cluster-with-tf-and-aks/main.tf b/quickstart/201-k8s-cluster-with-tf-and-aks/main.tf index 57dccc1d..1af8c303 100644 --- a/quickstart/201-k8s-cluster-with-tf-and-aks/main.tf +++ b/quickstart/201-k8s-cluster-with-tf-and-aks/main.tf @@ -19,7 +19,7 @@ resource "random_pet" "azurerm_log_analytics_workspace_name" { } resource "azurerm_log_analytics_workspace" "test" { - location = var.log_analytics_workspace_location + location = var.log_analytics_workspace_location name = random_pet.azurerm_log_analytics_workspace_name.id resource_group_name = azurerm_resource_group.rg.name sku = var.log_analytics_workspace_sku diff --git a/quickstart/201-k8s-cluster-with-tf-and-aks/variables.tf b/quickstart/201-k8s-cluster-with-tf-and-aks/variables.tf index 087f2eac..6093806b 100644 --- a/quickstart/201-k8s-cluster-with-tf-and-aks/variables.tf +++ b/quickstart/201-k8s-cluster-with-tf-and-aks/variables.tf @@ -1,35 +1,35 @@ variable "resource_group_location" { - type= string + type = string default = "eastus" description = "Location of the resource group." } variable "resource_group_name_prefix" { - type= string + type = string default = "rg" description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription." } variable "node_count" { - type = number + type = number description = "The initial quantity of nodes for the node pool." - default = 3 + default = 3 } # For available Log Analytics regions, refer to: # https://azure.microsoft.com/global-infrastructure/services/?products=monitor variable "log_analytics_workspace_location" { - type= string - default = "eastus" + type = string + default = "eastus" description = "Location of the log analytics workspace." } # For Log Analytics pricing, refer to: # https://azure.microsoft.com/pricing/details/monitor variable "log_analytics_workspace_sku" { - type=string + type = string description = "" - default = "PerGB2018" + default = "PerGB2018" } variable "msi_id" {