forked from Azure/caf-terraform-landingzones
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundations.tf
36 lines (28 loc) · 1.27 KB
/
foundations.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
32
33
34
35
36
## calling the blueprints
module "blueprint_foundations_accounting" {
source = "./blueprint_foundations_accounting/"
prefix = local.prefix
tags = local.tags
location = var.global_settings.location_map.region1
tags_hub = local.tags_hub
resource_groups_hub = var.global_settings.resource_groups_hub
convention = var.global_settings.convention
accounting_settings = var.accounting_settings
}
module "blueprint_foundations_security" {
source = "./blueprint_foundations_security/"
tags = local.tags
location = var.global_settings.location_map.region1
tags_hub = local.tags_hub
resource_groups_hub = module.blueprint_foundations_accounting.resource_group_operations
log_analytics = module.blueprint_foundations_accounting.log_analytics_workspace
security_settings = var.security_settings
}
module "blueprint_foundations_governance" {
source = "./blueprint_foundations_governance/"
tags = local.tags
tags_hub = local.tags_hub
location = var.global_settings.location_map.region1
log_analytics = module.blueprint_foundations_accounting.log_analytics_workspace
governance_settings = var.governance_settings
}