Skip to content

Commit 4d09608

Browse files
committed
Test backend config
1 parent fd01c45 commit 4d09608

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/plan.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,14 @@ jobs:
4848
backend_config: bucket=${{ env.STATE_BUCKET_NAME }} key=${{ env.STATE_BUCKET_KEY }}
4949
env:
5050
TERRAFORM_PRE_RUN: |
51+
# Install prerequisites
52+
apt install -y lsb-release
53+
5154
# Install latest Packer
5255
wget -O - https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
5356
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(grep -oP '(?<=UBUNTU_CODENAME=).*' /etc/os-release || lsb_release -cs) main" | tee /etc/apt/sources.list.d/hashicorp.list
5457
apt update
55-
apt install packer
58+
apt install -y packer
5659
5760
# Install latest Talosctl
5861
curl -sL https://talos.dev/install | sh

0 commit comments

Comments
 (0)