File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,12 @@ variable "region" {
19
19
default = " eu-west-1"
20
20
}
21
21
22
+ variable "instance_type" {
23
+ description = " The instance type Packer will use for the builder"
24
+ type = string
25
+ default = " t3a.medium"
26
+ }
27
+
22
28
variable "ebs_delete_on_termination" {
23
29
description = " Indicates whether the EBS volume is deleted on instance termination."
24
30
type = bool
@@ -40,7 +46,7 @@ variable "custom_shell_commands" {
40
46
source "amazon-ebs" "githubrunner" {
41
47
ami_name = " github-runner-windows-core-2019-${ formatdate (" YYYYMMDDhhmm" , timestamp ())} "
42
48
communicator = " winrm"
43
- instance_type = " t3a.medium "
49
+ instance_type = var . instance_type
44
50
region = var. region
45
51
associate_public_ip_address = var. associate_public_ip_address
46
52
You can’t perform that action at this time.
0 commit comments