Skip to content

stakater-archive/terraform-aws-certificate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-certificate

Generate LetsEncrypt certificates for AWS(Route 53) hosted domain using Terraform.!

  1. Install Terraform v11.6

  2. Create a user on AWS with the set of permissions attached AmazonRoute53FullAccess, AWSCertificateManagerFullAccess, Route53CreateHostedZone

  3. Install and setup AWS CLI, ensure AWS credentials are in place

  4. Update DOMAIN and domain ADMINISTRATOR_EMAIL in variables.tf

  5. Run terraform init to initialize the working directory, run terraform plan to create an execution plan and finally run terraform apply to generate desired output.

    terraform init
    terraform plan
    terraform apply
  6. It will take a few minutes to create certificates. Once complete, your certificates will be stored in certificates.tf file.