Skip to content

Commit

Permalink
(fix) loading lambda handler
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed Jul 20, 2020
1 parent 5d5dea9 commit 258c085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/root.go
Expand Up @@ -58,7 +58,7 @@ Complete documentation is available at https://github.com/awslabs/ssosync`,
// execution path.
func Execute() {
if inLambda() {
lambda.Start(lambdaHandler)
lambda.Start(lambdaHandler(cfg))
}

if err := rootCmd.Execute(); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion template.yaml
Expand Up @@ -37,7 +37,7 @@ Parameters:
Description: TOML file from AWS SSO

Resources:
SSOSync:
SSOSyncFunction:
Type: AWS::Serverless::Function
Properties:
Runtime: go1.x
Expand Down

0 comments on commit 258c085

Please sign in to comment.