Skip to content

Commit

Permalink
Correction to README. (zappa#1177)
Browse files Browse the repository at this point in the history
The `exclude` example in the documentation was inaccurate.

Co-authored-by: monkut <[email protected]>
  • Loading branch information
2 people authored and Ian288 committed Jul 11, 2023
1 parent b9c5980 commit 55dcb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ to change Zappa's behavior. Use these at your own risk!
],
"endpoint_configuration": ["EDGE", "REGIONAL", "PRIVATE"], // Specify APIGateway endpoint None (default) or list `EDGE`, `REGION`, `PRIVATE`
"exception_handler": "your_module.report_exception", // function that will be invoked in case Zappa sees an unhandled exception raised from your code
"exclude": ["file.gz", "tests/"], // A list of regex patterns to exclude from the archive.
"exclude": ["file.gz", "tests"], // A list of filename patterns to exclude from the archive (see `fnmatch` module for patterns).
"exclude_glob": ["*.gz", "*.rar", "tests/**/*"], // A list of glob patterns to exclude from the archive. To exclude boto3 and botocore (available in an older version on Lambda), add "boto3*" and "botocore*".
"extends": "stage_name", // Duplicate and extend another stage's settings. For example, `dev-asia` could extend from `dev-common` with a different `s3_bucket` value.
"extra_permissions": [{ // Attach any extra permissions to this policy. Default None
Expand Down

0 comments on commit 55dcb97

Please sign in to comment.