-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathautomation_runbooks.tf
More file actions
39 lines (29 loc) · 1.07 KB
/
Copy pathautomation_runbooks.tf
File metadata and controls
39 lines (29 loc) · 1.07 KB
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
37
38
39
locals {
a_run_tags_01 = {
"Workload" = "automation_runbook_suspend"
}
}
module "automation_runbook_resume_01" {
source = "./modules/runbook"
rg_name = var.rg_name
default_location = var.default_location
environment = var.environment
aut_account_name = module.automation_account_01.aut_account_name
runbook_name = "FabricResume"
runbook_type = "PowerShell72"
runbook_file_path = "./files/FabricResume.ps1"
tags = merge(var.tags, local.a_run_tags_01)
depends_on = [module.automation_account_01]
}
module "automation_runbook_suspend_01" {
source = "./modules/runbook"
rg_name = var.rg_name
default_location = var.default_location
environment = var.environment
aut_account_name = module.automation_account_01.aut_account_name
runbook_name = "FabricSuspend"
runbook_type = "PowerShell72"
runbook_file_path = "./files/FabricSuspend.ps1"
tags = merge(var.tags, local.a_run_tags_01)
depends_on = [module.automation_account_01]
}