Skip to content

Terraform module to manage ACME (Let's Encrypt) registrations and certificates

Notifications You must be signed in to change notification settings

BWITS/tf_aws_acme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Information

ACME (Let's Encrypt) Support for Terraform

Prerequisite

  1. Install acme provider

    $ go get github.com/paybyphone/terraform-provider-acme

    $ go install github.com/paybyphone/terraform-provider-acme

  2. update terraform configuration

$ cat ~/.terraformrc

providers {
  acme = "${GOPATH}/bin/terraform-provider-acme"
}
  1. Update s3 backend bucket in config/backend-dev.conf

  2. update domain names in config/dev.conf

Usage

env=dev
terraform get -update=true
terraform init -backend-config=config/backend-${env}.conf
terraform plan -var-file=config/${env}.tfvars -input=false -out=plan

If it is fine, apply the change.

terraform apply plan

Inputs

Name Description Default Required
common_name dev.example.com no
dns_names <list> no
email_address [email protected] no
region ap-southeast-2 no

About

Terraform module to manage ACME (Let's Encrypt) registrations and certificates

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages