From 69d9067fb5df69e28d325fe0563b6d549a5a1c34 Mon Sep 17 00:00:00 2001 From: Will Rogers Date: Thu, 22 Sep 2022 15:32:25 +0100 Subject: [PATCH] Correction to README. The `exclude` example in the documentation was inaccurate. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b9684219b..d02938e4c 100644 --- a/README.md +++ b/README.md @@ -927,7 +927,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