File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -700,7 +700,7 @@ deploy_s3bucket() {
700
700
check_invalidation_status () {
701
701
INVALIDATE_ID=$1
702
702
counter=0
703
- echo " invalidating cache"
703
+ echo " invalidating cache with ID $INVALIDATE_ID "
704
704
sleep 60
705
705
invalidstatus =` aws cloudfront create-invalidation --distribution-id $AWS_CLOUD_FRONT_ID --id $INVALIDATE_ID | $JQ ' .Invalidation.Status' `
706
706
@@ -726,7 +726,7 @@ invalidate_cf_cache()
726
726
echo " Skipped which is based on AWS cloudfront ID.Kindly raise request to configure cloud front ID in deployment configuration"
727
727
else
728
728
# aws cloudfront create-invalidation --distribution-id $AWS_CLOUD_FRONT_ID --paths '/*'
729
- INVALIDATE_ID=` aws cloudfront create-invalidation --distribution-id $AWS_CLOUD_FRONT_ID --paths ' /*' | $JQ ' Invalidation.Id' `
729
+ INVALIDATE_ID=` aws cloudfront create-invalidation --distribution-id $AWS_CLOUD_FRONT_ID --paths ' /*' | $JQ ' . Invalidation.Id' `
730
730
check_invalidation_status " $INVALIDATE_ID "
731
731
fi
732
732
fi
You can’t perform that action at this time.
0 commit comments