submodules/genvid/aws-create-cert

Creates an AWS ACM Certificate.

Requirements

  • terraform >= 0.12

Inputs

domain_name (string)

A domain name for which the certificate should be issued

name (string)

Resource name

region (string)

This is the AWS region

validation_method (string)

Which method to use for validation. DNS or EMAIL are valid, NONE can be used for certificates that were imported into ACM and then into Terraform.

certificate_transparency_logging_preference (string)

Specifies whether certificate details should be added to a certificate transparency log. Valid values are ENABLED or DISABLED. See https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept- transparency for more details.

subject_alternative_names (list(string))

A list of domains that should be SANs in the issued

tags (map(string))

Ressource tags

Outputs

arn

The ARN of the certificate

domain_name

A domain name for which the certificate should be issued

domain_validation_options

A list of attributes to feed into other resources to complete certificate validation. Can have more than one element, e.g. if SANs are defined. Only set if DNS-validation was used.

id

The ARN of the certificate

options

Configuration block used to set certificate options. Detailed below.

validation_emails

A list of addresses that received a validation E-Mail. Only set if EMAIL- validation was used.

validation_method

Which method to use for validation. DNS or EMAIL are valid, NONE can be used for certificates that were imported into ACM and then into Terraform.