chore: add opentofu action

This commit is contained in:
2025-09-27 13:29:00 +10:00
parent 55e65440c9
commit 3d7a1347a8

View File

@@ -19,12 +19,6 @@ jobs:
with:
fetch-depth: 0
- name: Setup Opentofu CLI
run: |
curl -L https://github.com/opentofu/opentofu/releases/latest/download/opentofu-linux-amd64 -o /usr/local/bin/tofu
chmod +x /usr/local/bin/tofu
tofu version
- name: Generate Dynamic Vars (Secrets)
run: |
cat <<EOF > terraform.auto.tfvars
@@ -36,6 +30,9 @@ jobs:
ssh_key = "${{ secrets.SSH_PRIVATE_KEY }}"
passphrase = "${{ secrets.SSH_PASSPHRASE }}"
EOF
- name: Setup Opentofu
uses: opentofu/setup-opentofu@v1
- name: Opentofu Init
run: tofu init