-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.pkr.hcl
66 lines (60 loc) · 1.76 KB
/
variables.pkr.hcl
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
variable "mongodb_major_version" {
type = string
description = <<-EOD
The version of MongoDB Database to install.
See https://www.mongodb.com/try/download/enterprise-advanced/releases
for all current releases and
https://www.mongodb.com/try/download/enterprise-advanced/releases/archive
for all archived rleases.
EOD
default = "6.0"
}
variable "mongodb_patch_version" {
type = string
description = <<-EOD
The version of MongoDB Database to install.
See https://www.mongodb.com/try/download/enterprise-advanced/releases
for all current releases and
https://www.mongodb.com/try/download/enterprise-advanced/releases/archive
for all archived rleases.
EOD
default = "8"
}
variable "db_tools_version" {
type = string
description = <<-EOD
The version of MongoDB Database Tools to install.
See https://www.mongodb.com/try/download/database-tools for all available versions.
EOD
default = "100.7.5"
}
variable "source_ami_name" {
type = string
description = <<-EOD
Glob that will be used to search for the source AMI Name.
The most recent match will be used.
EOD
default = "RHEL-8*_HVM-*-x86_64-*-Hourly2-GP2"
}
variable "source_ami_owner" {
type = string
description = <<-EOD
AWS account ID that owns the source AMI.
The default is the account ID for certified RedHat images.
EOD
default = "309956199498"
}
variable "instance_type" {
type = string
description = <<-EOD
The AWS instance type to use to build the AppDB Instances.
EOD
default = "m5.large"
}
variable "region" {
type = string
description = <<-EOD
The AWS region to use for the AppDB Instances.
EOD
default = "us-east-1"
}