You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
427B

  1. data "azurerm_storage_account" "this" {
  2. count = var.enabled && var.storage_account_exist != false ? 1 : 0
  3. name = var.storage_account_name
  4. resource_group_name = var.resource_group_name
  5. }
  6. data "azurerm_log_analytics_workspace" "this" {
  7. count = var.enabled && var.workspace_exist != false ? 1 : 0
  8. name = var.log_analytics_workspace_name
  9. resource_group_name = var.resource_group_name
  10. }