Skip to content

Commit ca5be56

Browse files
committed
docs: README update
1 parent 124be95 commit ca5be56

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Download latest version of `certbot-lambda.zip` from [releases](https://github.c
1616
* `SecretsManagerReadWrite`
1717
* `AmazonRoute53FullAccess`
1818
1. Increase execution timeout in `Configuration` > `General configuration` to 10 minutes and memory limit to 150Mb.
19+
1. Add ENV variables at `Configuration` > `Environment variables` (check bellow for required ENV variables).
1920
1. Run lambda manually one time to create a secret by going to `Test` and executing `hello-wold` template.
2021

2122
### Automatic rotation

app/handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
def handler(_event, _context):
1111
try:
1212
shutil.rmtree(str(settings.CERTBOT_DIR), ignore_errors=True)
13-
# Load secret names yearly to check if aws client is configured correctly
13+
14+
# Load secret names early to check if aws client is configured correctly
1415
secret_names = list_secret_names()
1516

16-
# Obtain certs
1717
certs = obtain_certbot_certs(
1818
emails=settings.CERTBOT_EMAILS,
1919
domains=settings.CERTBOT_DOMAINS,

0 commit comments

Comments
 (0)