-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathvariables.tf
More file actions
46 lines (38 loc) · 951 Bytes
/
variables.tf
File metadata and controls
46 lines (38 loc) · 951 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
43
44
45
46
# variables for compute.tf
variable "region" {
type = string
default = "eu-west-2"
}
variable "instance_type" {
description = "defined type of EC2 instance"
type = string
default = "t2.micro"
}
variable "subnet_id" {
description = "the ID of a subnet in which the instance should be deployed"
type = string
default = ""
}
variable "security_group_id" {
description = "a list of security group IDs, to attach to this instance"
type = list(string)
default = null
}
variable "ssh_key" {
description = "ssh key used to connect to the instance"
type = string
default = "id_rsa_webserver"
}
variable "key_loc" {
description = "ssh_key location"
type = string
default = "~/.ssh/id_rsa_webserver"
}
variable "instance_name_tag" {
type = string
default = ""
}
variable "instance_role_tag" {
type = string
default = ""
}