Skip to content

Commit 5e9dccd

Browse files
committed
v1.9.1 - bugfix lockfile_or_upgrade
1 parent 90f2247 commit 5e9dccd

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.9.1 (06/09/2024)
2+
3+
BUG FIXES:
4+
5+
* Correct selection of `lockfile_or_upgrade`, thanks to @edmundcraske-bjss
6+
17
## 1.9.0 (06/09/2024)
28

39
FEATURES:

bin/terraform.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
##
99
# Set Script Version
1010
##
11-
readonly script_ver="1.9.0";
11+
readonly script_ver="1.9.1";
1212

1313
##
1414
# Standardised failure function
@@ -654,7 +654,7 @@ if [ "${bootstrapped}" == "true" ]; then
654654
trap "rm -f $(pwd)/backend_tfscaffold.tf" EXIT;
655655

656656
declare lockfile_or_upgrade;
657-
[ -n ${lockfile} ] && lockfile_or_upgrade='-upgrade' || lockfile_or_upgrade="${lockfile}";
657+
[ -n ${lockfile} ] && lockfile_or_upgrade="${lockfile}" || lockfile_or_upgrade='-upgrade';
658658

659659
# Configure remote state storage
660660
echo "Setting up S3 remote state from s3://${bucket}/${backend_key}";

0 commit comments

Comments
 (0)