Updating main to use new rg var name

This commit is contained in:
Tom Archer 2022-08-27 21:25:20 -07:00
parent 9a26ecdd6c
commit 0419cad12a

View File

@ -16,7 +16,7 @@ resource "azurerm_log_analytics_workspace" "test" {
# The WorkSpace name has to be unique across the whole of azure, not just the current subscription/tenant. # The WorkSpace name has to be unique across the whole of azure, not just the current subscription/tenant.
name = "${var.log_analytics_workspace_name}-${random_id.log_analytics_workspace_name_suffix.dec}" name = "${var.log_analytics_workspace_name}-${random_id.log_analytics_workspace_name_suffix.dec}"
location = var.log_analytics_workspace_location location = var.log_analytics_workspace_location
resource_group_name = azurerm_resource_group.k8s.name resource_group_name = azurerm_resource_group.rg.name
sku = var.log_analytics_workspace_sku sku = var.log_analytics_workspace_sku
} }