-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvariables.tf
32 lines (27 loc) · 876 Bytes
/
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
variable "prefix" {
default = "camellia"
description = "Resources will be prefixed with this."
}
variable "vpc_id" {
description = "ID of the VPC where to create the image."
default = ""
type = string
}
variable "subnet_ids" {
description = "ID of the subnet in the VPC where the Packer instance will run."
default = []
type = list(string)
}
variable "packer_template" {
default = "aws-default.json"
description = "The name of the template file use by Packer to create the image. Must be a relative path to module root."
}
variable "packer_instance_type" {
default = "t3a.medium"
description = "Type of EC2 instance use for Packer. Must be an EBS optimized type and support ENA."
}
variable "tags" {
default = {}
description = "A mapping of tags to assign to all resources."
type = map(string)
}