Skip to content

Commit 3779d6e

Browse files
committed
Fix precedence of functions
1 parent f7d3126 commit 3779d6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function installTerragrunt {
122122
fi
123123
fi
124124

125-
url="https://github.com/gruntwork-io/terragrunt/releases/download/${tgVersion}/terragrunt_linux_386"
125+
url="https://github.com/gruntwork-io/terragrunt/releases/download/${tgVersion}/terragrunt_linux_amd64"
126126

127127
echo "Downloading Terragrunt ${tgVersion}"
128128
curl -s -S -L -o /tmp/terragrunt_${tgVersion} ${url}
@@ -154,9 +154,9 @@ function main {
154154
source ${scriptDir}/terragrunt_taint.sh
155155
source ${scriptDir}/terragrunt_destroy.sh
156156

157-
installTerraform
158157
parseInputs
159158
configureCLICredentials
159+
installTerraform
160160
cd ${GITHUB_WORKSPACE}/${tfWorkingDir}
161161

162162
case "${tfSubcommand}" in

0 commit comments

Comments
 (0)