-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
108 lines (97 loc) · 2.43 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
variable "prefix" {
type = string
description = "This prefix will be included in the name of most resources."
}
variable "region" {
type = string
description = "The region where the resources are created."
default = "us-east-2"
}
variable "env" {
type = string
description = "Value for the environment tag."
}
variable "department" {
description = "Value for the department tag."
type = string
default = "WebDev"
}
variable "owner" {
description = "Value for the owner tag."
type = string
default = "web.developer"
}
variable "extra_tags" {
description = "Additional tags to add to resources."
type = map(string)
default = {}
}
variable "address_space" {
type = string
description = "The address space that is used by the virtual network. You can supply more than one address space. Changing this forces a new resource to be created."
default = "10.0.0.0/16"
}
variable "subnet_prefix" {
type = string
description = "The address prefix to use for the subnet."
default = "10.0.10.0/24"
}
variable "instance_type" {
type = string
description = "Specifies the AWS instance type."
default = "t3.micro"
}
variable "packer_bucket" {
type = string
description = "HCP Packer bucket name containing the source image."
default = "ubuntu22-nginx"
}
variable "packer_channel" {
type = string
description = "HCP Packer image channel."
default = "production"
}
variable "hashi_products" {
type = list(object({
name = string
color = string
image_file = string
}))
default = [
{
name = "Consul"
color = "#dc477d"
image_file = "hashicafe_art_consul.png"
},
{
name = "HCP"
color = "#ffffff"
image_file = "hashicafe_art_hcp.png"
},
{
name = "Nomad"
color = "#60dea9"
image_file = "hashicafe_art_nomad.png"
},
{
name = "Packer"
color = "#63d0ff"
image_file = "hashicafe_art_packer.png"
},
{
name = "Terraform"
color = "#844fba"
image_file = "hashicafe_art_terraform.png"
},
{
name = "Vagrant"
color = "#2e71e5"
image_file = "hashicafe_art_vagrant.png"
},
{
name = "Vault"
color = "#ffec6e"
image_file = "hashicafe_art_vault.png"
}
]
}