-
Notifications
You must be signed in to change notification settings - Fork 500
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Description
The Azure Landing Zones architecture expects a centralized deployment of Azure Log Analytics Workspace in the "management" subscription, while the rest of AKS resources should be on the "online" subscription. This AKS module does provide the possibility to use an existing LA workspace, but it expects it to be in the same subscription as all the other AKS resources.
The module should provide an input to properly import the LA workspace from a different subscription.
New or Affected Resource(s)/Data Source(s)
data.azurerm_log_analytics_workspace.main
Potential Terraform Configuration
provider "azurerm" {
features {}
alias = "management"
subscription_id = var.subscription_id_management
}
variable "subscription_id_management" {
type = string
description = "The ID of the ALZ management subscription"
}
data "azurerm_log_analytics_workspace" "main" {
provider = azurerm.management
count = local.query_datasource_for_log_analytics_workspace_location ? 1 : 0
name = var.log_analytics_workspace.name
resource_group_name = local.log_analytics_workspace.resource_group_name
}References
https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/landing-zone/
tobiasehlert and boldandbusted
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Todo