-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
112 lines (83 loc) · 1.68 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
data "aws_ami" "vRouter" {
most_recent = true
filter {
name = "name"
values = ["*EOS*"]
#values = ["*VEOS"]
#values = ["*EFT1"]
}
filter {
name = "virtualization-type"
values = ["hvm"]
}
owners = ["083837402522"] # Arista
#owners = ["679593333241"] # Arista (Marketplace)
}
data "aws_ami" "amazon_linux" {
most_recent = true
filter {
name = "name"
values = ["Amazon-Linux-64bit-HVM*"]
}
filter {
name = "virtualization-type"
values = ["hvm"]
}
#owners = ["531700196402"] # Amazon
}
data "aws_ami" "windows" {
most_recent = true
filter {
name = "name"
values = ["Windows_Server-2016-English-Core-Base*"]
}
filter {
name = "virtualization-type"
values = ["hvm"]
}
#owners = ["531700196402"] # amazon
}
variable "aws_region" {
default = "us-east-1"
}
variable "vrouter_ami" {
default = "ami-2fe8c64a"
}
variable "jump_ami" {
# AmazonLinux
default = "ami-157b2102"
# Windows_Server-2016-English-Nano-Base-2017.09.13
#default = "ami-5fd6f43a"
# ? Windows_Server-2016-English-Nano-Base-2017.09.13
}
variable "app_ami" {
# AmazonLinux
default = "ami-157b2102"
}
variable "aws_instance_type" {
default = "m4.large"
}
variable "tag_name_prefix" {
default = ""
}
variable "tag_department" {
default = "SE"
}
variable "tag_author" {}
variable "tag_environment" {
default = "sandbox"
}
variable "tag_autostop" {
default = "yes"
}
variable "tag_description" {
default = ""
}
variable "keypair_name" {
default = "jere-cvp-key"
}
variable "public_key" {}
variable "key_path" {
description = "Path to the SSH public_key"
default = "/Users/jere/.ssh/id_rsa.pub"
}