From 33d6618ce19048686cd7d4f914cd50e61f8011e7 Mon Sep 17 00:00:00 2001 From: klapcsik <33195512+klapcsik@users.noreply.github.com> Date: Sun, 20 Mar 2022 08:57:51 +0100 Subject: [PATCH] Fixing sam.yaml indentation error fix at Events This change will fix the following error in the AWS::Serverless::Function lambda function after running sh deploy.sh while parsing a block mapping in "", line 43, column 5: Type: 'AWS::Serverless::Function' ^ (line: 43) expected , but found '' in "", line 66, column 6: Events: ^ (line: 66) --- src/sam.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sam.yaml b/src/sam.yaml index 35bac9a..3bbd6e4 100644 --- a/src/sam.yaml +++ b/src/sam.yaml @@ -63,7 +63,7 @@ Resources: CURRENT_MONTH: !Ref CurrentMonth INC_SUPPORT: 'false' INC_TAX: 'true' - Events: + Events: MonthlyEvent: Properties: Schedule: !Sub cron(0 1 ${DayOfMonth} * ? *)