diff --git a/lib/plugins/aws/deploy/compile/events/schedule/index.js b/lib/plugins/aws/deploy/compile/events/schedule/index.js index 906fc8f14..97677a219 100644 --- a/lib/plugins/aws/deploy/compile/events/schedule/index.js +++ b/lib/plugins/aws/deploy/compile/events/schedule/index.js @@ -83,8 +83,8 @@ class AwsCompileScheduledEvents { "ScheduleExpression": "${ScheduleExpression}", "State": "${State}", "Targets": [{ - ${Input ? `"Input": "${Input}",` : ``} - ${InputPath ? `"InputPath": "${InputPath}",` : ``} + ${Input ? `"Input": "${Input}",` : ''} + ${InputPath ? `"InputPath": "${InputPath}",` : ''} "Arn": { "Fn::GetAtt": ["${normalizedFunctionName}LambdaFunction", "Arn"] }, "Id": "${functionName}Schedule" }]