From 55dcb97b6f09285458d243fefac417d09138f79e Mon Sep 17 00:00:00 2001 From: Will Rogers Date: Mon, 14 Nov 2022 04:40:49 +0000 Subject: [PATCH] Correction to README. (#1177) The `exclude` example in the documentation was inaccurate. Co-authored-by: monkut --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ab723b523..49ecb2b79 100644 --- a/README.md +++ b/README.md @@ -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