forked from tothenew/terraform-aws-mongodb
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
88 lines (75 loc) · 2.25 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
variable "subnet_id" {
description = "The VPC Subnet IDs to launch in"
type = string
}
variable "instance_type" {
description = "The type of instance to start"
type = string
default = "t3a.medium"
}
variable "mongo_version" {
description = "The version of mongodb"
type = string
default = "5.0"
}
variable "project_name_prefix" {
description = "A string value to describe prefix of all the resources"
type = string
default = "dev-tothenew"
}
variable "iam_instance_profile" {
description = "IAM Instance Profile to launch the instance with. Specified as the name of the Instance Profile"
type = string
}
variable "key_name" {
description = "Key name of the Key Pair to use for the instance; which can be managed using the `aws_key_pair` resource"
type = string
}
variable "disable_api_termination" {
description = "If true, enables EC2 Instance Termination Protection"
type = bool
default = true
}
variable "ebs_optimized" {
description = "If true, the launched EC2 instance will be EBS-optimized"
type = bool
default = true
}
variable "security_groups" {
description = "A string value for Security Group ID"
type = list(string)
}
variable "common_tags" {
description = "A mapping of tags to assign to the resource"
type = map(string)
}
variable "delete_on_termination" {
description = "Whether EBS volume will be deleted when instance gets deleted."
type = bool
default = true
}
variable "encrypted" {
description = "Whether EBS volume will be encrypted."
type = bool
default = true
}
variable "volume_type" {
description = "Volume type for EC2 instance default latest type"
type = string
default = "gp3"
}
variable "root_volume_size" {
description = "Root volume size of the EC2 instance"
type = number
default = 50
}
variable "disable_api_stop" {
description = "If true, enables EC2 Instance Stop Protection."
type = bool
default = false
}
variable "source_dest_check" {
description = "Source destination Check. Used for NAT or VPNs."
type = bool
default = true
}