Skip to content

Commit

Permalink
add reference to resource limits
Browse files Browse the repository at this point in the history
  • Loading branch information
kvch committed Jan 14, 2020
1 parent 93c66f7 commit 1a6d4ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions x-pack/functionbeat/manager/aws/template_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const (

// Package size limits for AWS, we should be a lot under this limit but
// adding a check to make sure we never go over.
// Ref: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
packageCompressedLimit = 50 * 1000 * 1000 // 50MB
packageUncompressedLimit = 250 * 1000 * 1000 // 250MB
)
Expand Down
1 change: 1 addition & 0 deletions x-pack/functionbeat/manager/gcp/template_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const (
functionName = locationTemplate + "/functions/%s" // full name of the functions

// Package size limits for GCP provider
// Ref: https://cloud.google.com/functions/quotas
packageCompressedLimit = 100 * 1000 * 1000 // 100MB
packageUncompressedLimit = 500 * 1000 * 1000 // 500MB
)
Expand Down

0 comments on commit 1a6d4ae

Please sign in to comment.