-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
77 lines (63 loc) · 1.87 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
variable "environment" {
description = "Deployment environment, i.e. dev/stage/prod, etc"
type = string
}
variable "alb_enabled" {
description = "Indicates if ALB is being provisioned for Comet EC2 instance"
type = bool
default = null
}
variable "s3_enabled" {
description = "Indicates if S3 bucket is being provisioned for Comet"
type = bool
default = null
}
variable "vpc_id" {
description = "ID of the VPC that will contain the provisioned resources"
type = string
}
variable "comet_ec2_ami_type" {
description = "Operating system type for the EC2 instance AMI"
type = string
}
variable "comet_ec2_instance_type" {
description = "Instance type for the EC2 instance"
type = string
}
variable "comet_ec2_ami_id" {
description = "AMI ID for the EC2 instance"
type = string
}
variable "comet_ec2_instance_count" {
description = "Number of EC2 instances to provision"
type = number
}
variable "comet_ec2_volume_type" {
description = "EBS volume type for the EC2 instance root volume"
type = string
}
variable "comet_ec2_volume_size" {
description = "Size, in gibibytes (GiB), for the EC2 instance root volume"
type = number
}
variable "comet_ec2_subnet" {
description = "ID of VPC subnet to launch EC2 instance in"
type = string
}
variable "comet_ec2_key" {
description = "Name of the SSH key to configure on the EC2 instance"
type = string
}
variable "comet_ec2_s3_iam_policy" {
description = "Policy granting access to Comet S3 bucket"
type = string
}
variable "comet_ec2_alb_sg" {
description = "ID of the security group attached to an associated application load balancer, for creating ingress EC2 SG rule"
type = string
}
variable "common_tags" {
type = map(string)
description = "A map of common tags"
default = {}
}