packer: use gp3 volumes

GP3 is cheaper than GP2, let's switch to it for storing our images:
https://fedoraproject.org/wiki/Changes/CloudEC2gp3

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2023-07-12 00:07:24 +02:00 committed by Ondřej Budai
parent b461e403ef
commit ba417dbf3d

View file

@ -54,7 +54,7 @@ build {
delete_on_termination = "true"
device_name = "/dev/sda1"
volume_size = 10
volume_type = "gp2"
volume_type = "gp3"
}
}
@ -88,7 +88,7 @@ build {
delete_on_termination = "true"
device_name = "/dev/sda1"
volume_size = 10
volume_type = "gp2"
volume_type = "gp3"
}
}
@ -118,7 +118,7 @@ build {
delete_on_termination = "true"
device_name = "/dev/sda1"
volume_size = 5
volume_type = "gp2"
volume_type = "gp3"
}
# go doesn't like modern Fedora crypto policies
@ -155,7 +155,7 @@ EOF
delete_on_termination = "true"
device_name = "/dev/sda1"
volume_size = 5
volume_type = "gp2"
volume_type = "gp3"
}
# go doesn't like modern Fedora crypto policies