-
Notifications
You must be signed in to change notification settings - Fork 15
/
data.tf
31 lines (22 loc) · 870 Bytes
/
data.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
data "azurerm_advisor_recommendations" "advisor" {
filter_by_category = ["Security", "Cost"]
filter_by_resource_groups = try([azurerm_resource_group.default["aks"].name, var.storage.storage_account.resource_group_name], [azurerm_resource_group.default["aks"].name])
}
data "http" "host_ip" {
url = "http://ipv4.icanhazip.com"
}
data "azurerm_subscription" "current" {
}
data "azurerm_storage_account" "hpccsa" {
for_each = local.storage_accounts
name = each.key
resource_group_name = each.value
}
data "http" "elastic4hpcclogs_hpcc_logaccess" {
url = local.elastic4hpcclogs_hpcc_logaccess
}
data "azurerm_automation_account" "default" {
count = var.aks_automation.create_new_account ? 0 : 1
name = var.aks_automation.automation_account_name
resource_group_name = var.aks_automation.resource_group_name
}