Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Fixing sam.yaml indentation error fix at Events
Browse files Browse the repository at this point in the history
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 "<unicode string>", line 43, column 5:
        Type: 'AWS::Serverless::Function'
        ^ (line: 43)
expected <block end>, but found '<block mapping start>'
  in "<unicode string>", line 66, column 6:
         Events:
         ^ (line: 66)
  • Loading branch information
klapcsik authored Mar 20, 2022
1 parent 1691557 commit 33d6618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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} * ? *)
Expand Down

0 comments on commit 33d6618

Please sign in to comment.