File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ Download latest version of `certbot-lambda.zip` from [releases](https://github.c
1616 * ` SecretsManagerReadWrite `
1717 * ` AmazonRoute53FullAccess `
18181 . 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).
19201 . Run lambda manually one time to create a secret by going to ` Test ` and executing ` hello-wold ` template.
2021
2122### Automatic rotation
Original file line number Diff line number Diff line change 1010def 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 ,
You can’t perform that action at this time.
0 commit comments