diff --git a/entrypoint.sh b/entrypoint.sh index 4d34575..c7772ad 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -42,8 +42,8 @@ function installPipRequirements(){ } function runCdk(){ - echo "Run cdk ${INPUT_CDK_SUBCOMMAND} ${*} ${INPUT_CDK_STACK}" - output=$(cdk ${INPUT_CDK_SUBCOMMAND} ${*} ${INPUT_CDK_STACK} 2>&1) + echo "Run cdk ${INPUT_CDK_SUBCOMMAND} ${*} \"${INPUT_CDK_STACK}\"" + output=$(cdk ${INPUT_CDK_SUBCOMMAND} ${*} "${INPUT_CDK_STACK}" 2>&1) exitCode=${?} echo "${output}"