Giter Site home page Giter Site logo

trussworks / terraform-aws-acm-cert Goto Github PK

View Code? Open in Web Editor NEW
5.0 6.0 10.0 265 KB

Creates a TLS certificate using AWS ACM for domains hosted on Route53.

Home Page: https://registry.terraform.io/modules/trussworks/acm-cert

License: BSD 3-Clause "New" or "Revised" License

HCL 100.00%
terraform terraform-modules aws-acm acm aws-route53 route53

terraform-aws-acm-cert's Introduction

Creates a TLS certificate using AWS ACM for domains hosted on Route53. The ACM certificate can also be attached to an ALB listener.

Creates the following resources:

  • ACM certificate
  • Route53 record used to validate TLS certificate
  • Optional association with an ALB listener

Usage

module "acm_cert" {
  source = "trussworks/acm-cert/aws"

  alb_listener_arn = "arn:aws:elasticloadbalancing:us-west-2:..."
  domain_name      = "www.example.com"
  zone_name        = "example.com"
}

Requirements

Name Version
terraform >= 1.0
aws >= 3.0

Providers

Name Version
aws >= 3.0

Modules

No modules.

Resources

Name Type
aws_acm_certificate.main resource
aws_acm_certificate_validation.main resource
aws_lb_listener_certificate.main resource
aws_route53_record.caa resource
aws_route53_record.main resource

Inputs

Name Description Type Default Required
alb_listener_arn Associate ACM certificate to an ALB listener. string "" no
caa_records Add CAA records to route53. list(string) [] no
domain_name Domain name to associate with the ACM certificate. string n/a yes
environment Environment tag. e.g. prod string n/a yes
tags Tags to be attached to the ACM certificate. map(string) {} no
zone_id The Route53 zone id for which the certificate should be verified and issued. string n/a yes

Outputs

Name Description
acm_arn The ARN of the validated ACM certificate.

Developer Setup

Install dependencies (macOS)

brew install pre-commit go terraform terraform-docs
pre-commit install --install-hooks

terraform-aws-acm-cert's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

terraform-aws-acm-cert's Issues

optional filter on private hosted zone

Would it be possible to open a private / public flag for filtering hosted zones?

data "aws_route53_zone" "main" {
  name = "${var.zone_name}"
  private_zone = true
}

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/validate.yml
terraform
versions.tf
  • aws >= 3.0
  • hashicorp/terraform >= 1.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.