Skip to content

Commit b70acd2

Browse files
authored
fix the sleep_time variable (#235)
1 parent e882a07 commit b70acd2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/deploy/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ while [[ $STATUS == "Created" || $STATUS == "InProgress" || $STATUS == "Pending"
6161
--output text \
6262
--query '[deploymentInfo.status]')
6363
64-
SLEEP_TIME=$(( $RANDOM % 5 ) + ${var.get_deployment_sleep_timer})
64+
SLEEP_TIME=$((( $RANDOM % 5 ) + ${var.get_deployment_sleep_timer}))
65+
6566
echo "Sleeping for: $SLEEP_TIME Seconds"
6667
sleep $SLEEP_TIME
6768
done

0 commit comments

Comments
 (0)