-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tf
More file actions
31 lines (26 loc) · 735 Bytes
/
main.tf
File metadata and controls
31 lines (26 loc) · 735 Bytes
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
locals {
naming = {
# lookup outputs to have consistent naming
for type in local.naming_types : type => module.naming[type].name
}
naming_types = [
"automation_account",
"automation_runbook",
"automation_schedule",
"automation_variable",
"automation_webhook",
"eventgrid_domain",
"eventgrid_event_subscription",
"eventgrid_topic"
]
}
data "azuread_application_published_app_ids" "well_known" {
}
data "azuread_service_principal" "msgraph" {
client_id = data.azuread_application_published_app_ids.well_known.result["MicrosoftGraph"]
}
module "naming" {
source = "CloudNationHQ/naming/azure"
version = "~> 0.23"
suffix = [var.environment, var.workload, var.location_code]
}