-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.pkr.hcl
48 lines (42 loc) · 1.16 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
# Variables for MongoDB AMI build
# Required variables
variable "ops_manager_version" {
type = string
description = <<-EOD
The version of MongoDB Ops Manager to install.
At this time, only versions 5.0.x are supported.
See https://www.mongodb.com/try/download/ops-manager for all available versions.
EOD
default = "5.0.14.100.20220802T1010Z-1"
}
# Optional Variables
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 for 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"
}