Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build the OpenVPN AMI on a Graviton (AMD64) instance #111

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/packer.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ variable "skip_create_ami" {

data "amazon-ami" "debian_bookworm" {
filters = {
name = "debian-12-amd64-*"
name = "debian-12-arm64-*"
root-device-type = "ebs"
virtualization-type = "hvm"
}
Expand All @@ -87,11 +87,11 @@ data "amazon-ami" "debian_bookworm" {
locals { timestamp = regex_replace(timestamp(), "[- TZ:]", "") }

source "amazon-ebs" "openvpn" {
ami_name = "openvpn-hvm-${local.timestamp}-x86_64-ebs"
ami_name = "openvpn-hvm-${local.timestamp}-arm64-ebs"
ami_regions = var.ami_regions
associate_public_ip_address = true
encrypt_boot = true
instance_type = "t3.small"
instance_type = "t4g.small"
kms_key_id = var.build_region_kms
launch_block_device_mappings {
delete_on_termination = true
Expand Down
2 changes: 1 addition & 1 deletion src/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.2+build.2"
__version__ = "1.0.0-rc.1"
Loading