-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinput.tf
102 lines (82 loc) · 1.71 KB
/
input.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Mandatory parameters
variable "automation_account_name" {
type = string
}
variable "resource_group_location" {
type = string
}
variable "resource_group_name" {
type = string
}
variable "target_resource_group_name" {
type = string
}
variable "vmname" {
type = string
}
# Optional parameters
variable "automation_schedule_vm_start_description" {
type = string
default = "Start virtual machines"
}
variable "automation_schedule_vm_start_name" {
type = string
default = "vm-start"
}
variable "automation_schedule_vm_stop_description" {
type = string
default = "Stop virtual machines"
}
variable "automation_schedule_vm_stop_name" {
type = string
default = "vm-stop"
}
variable "manage_role_assignment" {
type = bool
description = "Whether to manage the role assignment"
default = true
}
variable "manage_role_definition" {
type = bool
description = "Whether to create and use a restricted role defition for VM start/stop jobs"
default = true
}
variable "start" {
type = bool
default = true
}
variable "stop" {
type = bool
default = true
}
variable "start_job_frequency" {
type = string
default = "Day"
}
variable "start_job_interval" {
type = number
default = 1
}
variable "start_job_start_time" {
type = string
default = "2022-08-12T01:50:00+00:00"
}
variable "stop_job_frequency" {
type = string
default = "Day"
}
variable "stop_job_interval" {
type = number
default = 1
}
variable "stop_job_start_time" {
type = string
default = "2022-08-12T04:30:00+00:00"
}
variable "subscription_id" {
type = string
}
variable "user_assigned_identity_name" {
type = string
default = "automation"
}