Ran 'terraform fmt'

This commit is contained in:
Tom Archer 2023-05-12 17:10:12 -07:00
parent b4d429be35
commit 71cee46b77
2 changed files with 9 additions and 9 deletions

View File

@ -19,7 +19,7 @@ resource "random_pet" "azurerm_log_analytics_workspace_name" {
} }
resource "azurerm_log_analytics_workspace" "test" { 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 name = random_pet.azurerm_log_analytics_workspace_name.id
resource_group_name = azurerm_resource_group.rg.name resource_group_name = azurerm_resource_group.rg.name
sku = var.log_analytics_workspace_sku sku = var.log_analytics_workspace_sku

View File

@ -1,35 +1,35 @@
variable "resource_group_location" { variable "resource_group_location" {
type= string type = string
default = "eastus" default = "eastus"
description = "Location of the resource group." description = "Location of the resource group."
} }
variable "resource_group_name_prefix" { variable "resource_group_name_prefix" {
type= string type = string
default = "rg" default = "rg"
description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription." 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" { variable "node_count" {
type = number type = number
description = "The initial quantity of nodes for the node pool." description = "The initial quantity of nodes for the node pool."
default = 3 default = 3
} }
# For available Log Analytics regions, refer to: # For available Log Analytics regions, refer to:
# https://azure.microsoft.com/global-infrastructure/services/?products=monitor # https://azure.microsoft.com/global-infrastructure/services/?products=monitor
variable "log_analytics_workspace_location" { variable "log_analytics_workspace_location" {
type= string type = string
default = "eastus" default = "eastus"
description = "Location of the log analytics workspace." description = "Location of the log analytics workspace."
} }
# For Log Analytics pricing, refer to: # For Log Analytics pricing, refer to:
# https://azure.microsoft.com/pricing/details/monitor # https://azure.microsoft.com/pricing/details/monitor
variable "log_analytics_workspace_sku" { variable "log_analytics_workspace_sku" {
type=string type = string
description = "" description = ""
default = "PerGB2018" default = "PerGB2018"
} }
variable "msi_id" { variable "msi_id" {