Skip to content

Flaconi/terraform-aws-acm-cloudflare

Repository files navigation

Terraform module: AWS Certificate manager with Cloudflare validation

lint test Tag Terraform License

Create ACM certificate with DNS validation and validate using Cloudflare Hosted Zone

Providers

Name Version
aws ~> 6.10
cloudflare ~> 5.8

Requirements

Name Version
terraform >= 1.3
aws ~> 6.10
cloudflare ~> 5.8

Required Inputs

The following input variables are required:

Description: A domain name for which the certificate should be issued

Type: string

Description: The Name of the zone to contain this record.

Type: string

Optional Inputs

The following input variables are optional (have default values):

Description: Whether to validate certificate by creating DNS record

Type: bool

Default: true

Description: Whether to wait for the validation to complete

Type: bool

Default: true

Description: Specifies whether certificate details should be added to a certificate transparency log

Type: bool

Default: true

Description: A list of domains that should be SANs in the issued certificate

Type: list(string)

Default: []

Description: Specifies the algorithm of the public and private key pair that your Amazon issued certificate uses to encrypt data.

Type: string

Default: "RSA_2048"

Description: A mapping of tags to assign to the resource

Type: map(string)

Default: {}

Description: The TTL of DNS recursive resolvers to cache information about this record.

Type: number

Default: 120

Outputs

Name Description
acm_certificate_arn The ARN of the certificate
acm_certificate_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.
distinct_domain_names List of distinct domains names used for the validation.
validation_dns_record_fqdns List of FQDNs built using the zone domain and name.
validation_domains List of distinct domain validation options. This is useful if subject alternative names contain wildcards.

License

MIT License

Copyright (c) 2021 Flaconi GmbH

About

Create ACM certificate with DNS validation and validate using Cloudflare Hosted Zone

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •