Skip to content

Commit 09397ac

Browse files
authored
Merge pull request #10 from toluna-terraform/fix_inconsistant_deploy
minor fixes
2 parents 4fd2c2a + 904ed83 commit 09397ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/pre_buildspec.yml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ phases:
2222
aws lambda update-function-code --function-name $FUNCTION_NAME --image-uri $IMAGE_URI || exit 1
2323
aws lambda wait function-updated --function-name $FUNCTION_NAME
2424
TARGET_VERSION=$(aws lambda publish-version --function-name $FUNCTION_NAME --query 'Version' --output text)
25-
aws lambda wait published-version-active --function-name $FUNCTION_NAME --qualifier TARGET_VERSION
25+
aws lambda wait published-version-active --function-name $FUNCTION_NAME --qualifier $TARGET_VERSION
2626
CURRENT_VERSION=$(echo "$(($TARGET_VERSION-1))")
2727
echo $APPSPEC > appspec.json
2828
sed -i -E 's/<FUNCTION_NAME>/'$FUNCTION_NAME'/' appspec.json

0 commit comments

Comments
 (0)