-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
executable file
·68 lines (56 loc) · 1.68 KB
/
Copy pathvariables.tf
File metadata and controls
executable file
·68 lines (56 loc) · 1.68 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
58
59
60
61
62
63
64
65
66
67
68
variable "cluster_name" {
description = "Name of the cluster."
default = "hashi-example"
}
variable "owner" {
description = "Owner tag on all resources."
default = "myuser"
}
variable "key_name" {
description = "Specify the AWS ssh key to use."
}
variable "private_key" {
description = "SSH private key to provision the cluster instances."
}
variable "aws_region" {
default = "eu-north-1"
}
variable "aws_azs" {
type = list(any)
description = "List of the availability zones to use."
default = ["eu-north-1a", "eu-north-1b", "eu-north-1c"]
}
variable "amis" {
type = map(string)
default = {
# eu-central-1 = "ami-337be65c" # centos 7
# eu-north-1 = "ami-026f0eb2e8006617d" # centos 7
# eu-north-1 = "ami-059464b63014a9d6a" # rocky linux 8
# eu-north-1 = "ami-07c0f40b66e9893c4" # rocky linux 9
eu-north-1 = "ami-0c4b8477135926c4f" # rhel 9
}
}
variable "instance_username" {
default = "ec2-user"
}
variable "num_vault" {
description = "Specify the amount of Vault servers. For redundancy you should have at least 3."
default = 1
}
variable "vault_version" {
default = "1.6.3"
description = "Specifies which Vault version instruction to use."
}
variable "vault_instance_type" {
description = "Vault server instance type."
default = "t3.small"
}
variable "vault_license" {
default = ""
description = "Vault license string."
}
variable "vault_shared_san" {
type = string
description = "This is a shared server name that the certs for all Vault nodes contain. This is the same value you will supply as input to the Vault installation module for the leader_tls_servername variable."
default = "vault"
}