From 2d09dc445d8b2a270fec4f8f97097d7452bcfd5f Mon Sep 17 00:00:00 2001 From: Marcin Jasion Date: Wed, 22 May 2024 18:14:17 +0200 Subject: [PATCH] Bump dependencies in AMI --- .github/workflows/build_virtualbox_builder_ami.yml | 6 +++--- packer/setup_root.sh | 2 +- packer/studio_ami.pkr.hcl | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_virtualbox_builder_ami.yml b/.github/workflows/build_virtualbox_builder_ami.yml index a431258..4c17ec8 100644 --- a/.github/workflows/build_virtualbox_builder_ami.yml +++ b/.github/workflows/build_virtualbox_builder_ami.yml @@ -21,8 +21,8 @@ jobs: run: working-directory: packer steps: - - uses: actions/checkout@v3 - - uses: aws-actions/configure-aws-credentials@v2 + - uses: actions/checkout@v4 + - uses: aws-actions/configure-aws-credentials@v4 with: aws-region: us-west-1 role-to-assume: arn:aws:iam::260760892802:role/studio-selfhosted-packer @@ -32,7 +32,7 @@ jobs: uses: hashicorp/setup-packer@main id: setup with: - version: "1.8.6" + version: "1.10.3" - name: Run `packer init` id: init diff --git a/packer/setup_root.sh b/packer/setup_root.sh index 1893a83..9fc3f75 100755 --- a/packer/setup_root.sh +++ b/packer/setup_root.sh @@ -12,7 +12,7 @@ fi export DEBIAN_FRONTEND=noninteractive # Install K3s - script uploaded with packer -export K3S_VERSION="v1.25.7+k3s1" +export K3S_VERSION="v1.29.4+k3s1" export K3S_KUBECONFIG_MODE="644" export INSTALL_K3S_VERSION="$K3S_VERSION" export INSTALL_K3S_SKIP_START="true" diff --git a/packer/studio_ami.pkr.hcl b/packer/studio_ami.pkr.hcl index aec56e9..db3007f 100644 --- a/packer/studio_ami.pkr.hcl +++ b/packer/studio_ami.pkr.hcl @@ -1,7 +1,7 @@ packer { required_plugins { amazon = { - version = ">= 1.0.0" + version = ">= 1.3.2" source = "github.com/hashicorp/amazon" } } @@ -10,7 +10,7 @@ packer { variables { image_name = "studio-selfhosted-{{isotime `2006-01-02`}}" image_description = "Iterative Studio Selfhosted - {{isotime `2006-01-02`}}" - aws_build_region = "us-west-1" + aws_build_region = "us-east-1" aws_build_instance = "c6a.large" aws_build_ubuntu_image = "*ubuntu-*-22.04-amd64-server-*" skip_create_ami = true