-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
64 lines (56 loc) · 1.6 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
/*
* Copyright (c) 2020 Qumulo, Inc. All rights reserved.
*
* NOTICE: All information and intellectual property contained herein is the
* confidential property of Qumulo, Inc. Reproduction or dissemination of the
* information or intellectual property contained herein is strictly forbidden,
* unless separate prior written permission has been obtained from Qumulo, Inc.
*/
variable "ami_id" {
type = string
description = <<EOS
The AMI id for the version of Qumulo you wish to deploy.
Get AMIs from the AWS market place at https://go.aws/2UhGu4f
EOS
}
variable "cluster_name" {
type = string
description = "What to name the cluster"
}
variable "instance_type" {
type = string
description = "EC2 Instance type"
default = "m5.8xlarge" # current vendor recommendation
}
variable "key_pair_name" {
type = string
description = <<EOS
The name of the EC2 key pair that can be used to ssh to nodes as the 'admin'
user
EOS
}
variable "node_count" {
type = number
description = "Number of nodes in the cluster (minimum of 4)"
default = 4
}
variable "subnet_id" {
type = string
description = <<EOS
VPC Subnet ID where nodes will be created. Must be in the same VPC as the
security_group_ids
EOS
}
variable "security_group_ids" {
type = list(string)
description = <<EOS
Security groups to create clustered nodes in. Must be in the same VPC as the
subnet_id.
See https://bit.ly/2IYl5YE for Qumulo required ports.
EOS
}
variable "tags" {
type = map(string)
description = "Additional tags to add to EC2 instances"
default = {}
}