Updating main to use new rg var name
This commit is contained in:
parent
1f4ae04892
commit
9a26ecdd6c
@ -23,7 +23,7 @@ resource "azurerm_log_analytics_workspace" "test" {
|
||||
resource "azurerm_log_analytics_solution" "test" {
|
||||
solution_name = "ContainerInsights"
|
||||
location = azurerm_log_analytics_workspace.test.location
|
||||
resource_group_name = azurerm_resource_group.k8s.name
|
||||
resource_group_name = azurerm_resource_group.rg.name
|
||||
workspace_resource_id = azurerm_log_analytics_workspace.test.id
|
||||
workspace_name = azurerm_log_analytics_workspace.test.name
|
||||
|
||||
@ -35,8 +35,8 @@ resource "azurerm_log_analytics_solution" "test" {
|
||||
|
||||
resource "azurerm_kubernetes_cluster" "k8s" {
|
||||
name = var.cluster_name
|
||||
location = azurerm_resource_group.k8s.location
|
||||
resource_group_name = azurerm_resource_group.k8s.name
|
||||
location = azurerm_resource_group.rg.location
|
||||
resource_group_name = azurerm_resource_group.rg.name
|
||||
dns_prefix = var.dns_prefix
|
||||
|
||||
linux_profile {
|
||||
@ -74,4 +74,3 @@ resource "azurerm_kubernetes_cluster" "k8s" {
|
||||
Environment = "Development"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user