From b764cfb228a8960af0c2ea387e50b67310eb5474 Mon Sep 17 00:00:00 2001 From: Byungjin Park Date: Sat, 13 Jun 2026 02:08:15 +0900 Subject: [PATCH] fix(chezmoiscripts): fix undefined $terrVersion in terraform install script The template referenced an undefined variable $terrVersion, causing 'chezmoi apply' to fail with a template error on darwin. Use the defined $terraformVersion and bump the pinned version to 1.15.6. --- .../darwin/run_onchange_after_01_install_terraform.sh.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.chezmoiscripts/darwin/run_onchange_after_01_install_terraform.sh.tmpl b/.chezmoiscripts/darwin/run_onchange_after_01_install_terraform.sh.tmpl index 9114742..3cef41b 100755 --- a/.chezmoiscripts/darwin/run_onchange_after_01_install_terraform.sh.tmpl +++ b/.chezmoiscripts/darwin/run_onchange_after_01_install_terraform.sh.tmpl @@ -3,11 +3,11 @@ set -eufo pipefail -{{- $terraformVersion := "1.15.5" }} +{{- $terraformVersion := "1.15.6" }} if which mise > /dev/null; then echo "[!] The version manager for Terraform 'mise' - Found!" mise use --global terraform@{{ $terraformVersion }} - echo "[+] Successfully installed 'terraform' {{ $terrVersion }}." + echo "[+] Successfully installed 'terraform' {{ $terraformVersion }}." echo "{{ output "mise" "ls" "terraform" "-g" | trim }}." else echo "[!] The version manager for Terraform 'mise' - Not Found!"