-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
89 lines (75 loc) · 1.75 KB
/
variables.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
variable "region" {
default = false
type = string
description = "AWS region"
}
variable "vpc" {
default = false
type = string
description = "Virtual Private Cloud id"
}
variable "ami" {
default = false
type = string
description = "AWS Machine Image id"
}
variable "itype" {
default = false
type = string
description = "Instance Type"
}
variable "subnet" {
default = false
type = string
description = "Subnet id"
}
variable "publicip" {
default = false
type = string
description = "Use of public ip True/false"
}
variable "secgroupname" {
default = false
type = string
description = "Name of Security Group"
}
variable "package_update" {
type = bool
default = false
description = "package update during cloud init"
}
variable "package_upgrade" {
type = bool
default = false
description = "package upgrade during cloud init"
}
variable "packages" {
type = list(string)
default = ["git", "vim"]
description = "packages to be installed during cloud init"
}
variable "instance_tags" {
type = map(string)
default = {}
description = "To define the tags for resources"
}
variable "init_username" {
default = false
type = string
description = "init ssh user (cloud-init)"
}
variable "init_sudo" {
default = "ALL=(ALL) NOPASSWD:ALL"
type = string
description = "init ssh user (cloud-init) sudo command"
}
variable "init_groups" {
default = "ubuntu, admin"
type = string
description = "init ssh user (cloud-init) init group"
}
variable "init_pubkey" {
default = false
type = string
description = "init ssh user (cloud-init) pub key"
}