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" {
1919 default = " eu-west-1"
2020}
2121
22+ variable "instance_type" {
23+ description = " The instance type Packer will use for the builder"
24+ type = string
25+ default = " t3a.medium"
26+ }
27+
2228variable "ebs_delete_on_termination" {
2329 description = " Indicates whether the EBS volume is deleted on instance termination."
2430 type = bool
@@ -40,7 +46,7 @@ variable "custom_shell_commands" {
4046source "amazon-ebs" "githubrunner" {
4147 ami_name = " github-runner-windows-core-2019-${ formatdate (" YYYYMMDDhhmm" , timestamp ())} "
4248 communicator = " winrm"
43- instance_type = " t3a.medium "
49+ instance_type = var . instance_type
4450 region = var. region
4551 associate_public_ip_address = var. associate_public_ip_address
4652
You can’t perform that action at this time.
0 commit comments