-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariable.tf
More file actions
42 lines (37 loc) · 1012 Bytes
/
variable.tf
File metadata and controls
42 lines (37 loc) · 1012 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
32
33
34
35
36
37
38
39
40
41
42
variable "root_password" {
description = "Root user password."
type = string
sensitive = true
default = "centos"
}
variable "target_host" {
description = "The IPv4 address of the target server"
type = string
default = "192.168.10.10"
}
variable "ssh_port" {
description = "The SSH port number of the target server"
type = number
default = 22
}
variable "output_file" {
description = "Filename for the retrieved report from the server."
type = string
default = "report.txt"
}
variable "script_files" {
description = "This variable is an array of paths to script files."
type = list(string)
default = [
"scripts/01_account_mgmt.sh",
"scripts/02_file_mgmt.sh",
"scripts/03_service_mgmt.sh",
"scripts/04_fetch_mgmt.sh",
"scripts/05_log_mgmt.sh"
]
}
variable "output_dir" {
description = "This is the local path where the report file will be saved."
type = string
default = "./outputs"
}