Skip to content

Commit

Permalink
Make the lambda timeout setting user configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
Dermah authored Dec 23, 2022
1 parent fbeffd1 commit 1a731bd
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Metadata:
- IgnoreUsers
- IgnoreGroups
- IncludeGroups
- Timeout

AWS::ServerlessRepo::Application:
Name: ssosync
Expand Down Expand Up @@ -116,7 +117,12 @@ Parameters:
AllowedValues:
- groups
- users_groups

Timeout:
Type: Number
Description: Timeout for the Lambda function
Default: 300
MinValue: 0
MaxValue: 900



Expand All @@ -126,7 +132,7 @@ Resources:
Properties:
Runtime: go1.x
Handler: dist/ssosync_linux_amd64_v1/ssosync
Timeout: 300
Timeout: !Ref Timeout
Environment:
Variables:
SSOSYNC_LOG_LEVEL: !Ref LogLevel
Expand Down

0 comments on commit 1a731bd

Please sign in to comment.