certbot-lambda

binbashar/certbot-lambda/aws

Terraform Module HCL AWS

Terraform module for deploying an AWS Lambda that generates Let's Encrypt certificates via Certbot

Install
module "certbot-lambda" {
source = "binbashar/certbot-lambda/aws"
version = "0.0.8"
}
plain text: /constructs/tfmod-binbashar-certbot-lambda-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Certbot Lambda This module deploys an AWS Lambda function that generates Let's Encrypt certificates via certbot, for the given domains. The Lambda is triggered by a CloudWatch event rule whose schedule can be set through the 'function_trigger_schedule_expression' variable. Considerations The original pyhton source code was taken from https://github.com/kingsoftgames/certbot-lambda and was adapted to the needs of the project at hand. Requirements | Name | Version | |------|---------| | terraform | >= 0.12.28 | | aws | ~> 2.70 | Providers | Name | Version | |------|---------| | aws | ~> 2.70 | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | certificate\_domains | Domains that will be included in the certificate | any | n/a | yes

Inputs (7)
NameTypeDescriptionDefault
namestringA name for naming resources required
hosted_zone_idstringThe id of the hosted zone that will be modified to prove ownership of the domain required
contact_emailstringContact email for LetsEncrypt notifications required
certificate_domainsstringDomains that will be included in the certificate required
function_trigger_schedule_expressionstringA cron-like expression that determines when the function is triggered"cron(0 */12 * * ? *)"
tagsmapResource Tags{}
name_prefixstringA prefix used for naming resources"certbot-lambda"
Resources (4)
aws_cloudwatch_event_ruleaws_cloudwatch_event_targetaws_lambda_permissionaws_s3_bucket
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.8
Cloud AWS
★ Stars8
Forks9
Total downloads6.6k
Inputs7
Resources4
LicenseMIT
Namespacebinbashar
Updated