-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathvariables.tf
More file actions
57 lines (47 loc) · 1.13 KB
/
variables.tf
File metadata and controls
57 lines (47 loc) · 1.13 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# variables for compute.tf
variable "instance_type" {
type = string
default = "t2.micro"
}
variable "pub_sub1_id" {
description = "public subnet 1 ID from network.tf"
type = string
default = ""
}
variable "pub_sub2_id" {
description = "public subnet 2 ID from network.tf"
type = string
default = ""
}
variable "prvt_sub1_id" {
description = "private subnet 1 ID from network.tf"
type = string
default = ""
}
variable "webserver_sg_id" {
description = "webserver security group id form network.tf"
type = list(string)
default = null
}
variable "bastion_sg_id" {
description = "jump host / bastion security group id form network.tf"
type = list(string)
default = null
}
variable "database_sg_id" {
description = "private security group id form network.tf"
type = list(string)
default = null
}
variable "ssh_key" {
type = string
default = "id_rsa_webserver"
}
variable "key_loc" {
type = string
default = "~/.ssh/id_rsa_webserver"
}
variable "instance_user" {
type = string
default = "ubuntu"
}