forked from hashicorp/terraform-azurerm-vault
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
92 lines (73 loc) · 3.39 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
# ---------------------------------------------------------------------------------------------------------------------
# REQUIRED PARAMETERS
# ---------------------------------------------------------------------------------------------------------------------
variable "subscription_id" {
description = "The Azure subscription ID"
}
variable "tenant_id" {
description = "The Azure tenant ID"
}
variable "client_id" {
description = "The Azure client ID"
}
variable "client_secret" {
description = "The Azure secret access key"
}
variable "image_resource_group_name" {}
variable "resource_group_name" {
default = "catavault"
}
variable "image_regex" {
description = "The expression to find the managed Azure image that should be deployed to the consul cluster."
default = "com.lgc.vault-centos-7.3-v*"
}
variable "admin_user_name" {
default = "haladmin"
}
variable "key_data" {
description = "The SSH public key that will be added to SSH authorized_users on the consul instances"
default = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDE/k1xTljO8cw3knf1jsnLhs0QMyCkM1ZlIRiIEAFZtlrkzdTuVDHBFKZmRKBeBH7ozogyeUVnqsaBFdqm8dH7z7Mp5ecCz/bBxOp/XsTSuXSrjgemgdiievFmtwYvIdraEYJr9fUYid6zWrC3tkbM7GVvrS+BKaDwK33QbN99/NQxtGpeWO6ivqhWu4+8KrAeL8rllsAhEzl8JuzOeNRdsVzwjaHgoUfK0d+SfNOJVjNrY8IIdq2Czi+b+iORh4iamwXkefT89Nnk5Ipri/SvliE9GatbHTbMktHsKZ5ZS9Hb0mVAdfevBViPXcZ1Tyamt08r6BIsKQNbbpQ4xYUJxGFm76jU0RbPwjCP8Tg5shn1/SKew56eDRtvIiJV0dp+Mp5R5vzbfrMaCzyZNdvFtdowq9mKc9N+J+9FyMHzgMOFBuwstSC6XuTUF+2nc2NZDYgqTmwgaLOrPkyoOM1FGI9uFGYacGI1ekMY4hcJZ8237I9nCdTyqnJro0rIn2erv3hkZBidBk1jrDCiEJuaiVQ/sWQT/tn06JQBNwny532SnJxBRaPuhUEDMJNoKFh2k6MJ3QPrgr3x2Ygx9/s5dAxwOI/QBy8bkT4gCb3JySi1kozTM3XssWOU4JfziE9fdDQo70yVYhGXcv0RPC1kX5bsoo1/ExeyLDKobhfAyQ== haladmin@core-hal"
}
variable "gossip_encryption_key" {
description = "The encryption key for consul to encrypt gossip traffic"
}
# ---------------------------------------------------------------------------------------------------------------------
# OPTIONAL PARAMETERS
# These parameters have reasonable defaults.
# ---------------------------------------------------------------------------------------------------------------------
variable "location" {
description = "The Azure region the consul cluster will be deployed in"
default = "East US"
}
variable "test_address_space" {
description = "The supernet for the resources that will be created"
default = "10.0.0.0/16"
}
variable "test_consul_subnet_address" {
description = "The subnet that consul resources will be deployed into"
default = "10.0.10.0/24"
}
variable "test_vault_subnet_address" {
description = "The subnet that vault resources will be deployed into"
default = "10.0.11.0/24"
}
variable "consul_cluster_name" {
description = "What to name the Consul cluster and all of its associated resources"
default = "consul-example"
}
variable "vault_cluster_name" {
description = "What to name the Vault cluster and all of its associated resources"
default = "vault-example"
}
variable "instance_size" {
description = "The instance size for the servers"
default = "Standard_A1_v2"
}
variable "consul_num_servers" {
description = "The number of Consul server nodes to deploy. We strongly recommend using 3 or 5."
default = 3
}
variable "vault_num_servers" {
description = "The number of Vault server nodes to deploy. We strongly recommend using 3 or 5."
default = 3
}