Skip to content

Commit f42c0f8

Browse files
authored
Update magenx.tf
1 parent 6fbfdca commit f42c0f8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

magenx.tf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1696,8 +1696,13 @@ mainSteps:
16961696
--remote-storage-bucket=${aws_s3_bucket.this["media"].bucket} \
16971697
--remote-storage-region=${data.aws_region.current.name}"
16981698
## installation check
1699+
if [[ $? -ne 0 ]]; then
1700+
echo
1701+
echo "Installation error - check command output log"
1702+
exit 1
1703+
fi
16991704
if [ ! -f /home/${var.app["brand"]}/public_html/app/etc/env.php ]; then
1700-
echo "Installation error"
1705+
echo "Installation error - env.php not available"
17011706
exit 1
17021707
fi
17031708
## cache backend

0 commit comments

Comments
 (0)