certificates-generator

ish-xyz/certificates-generator/tls

Terraform Module HCL TLS

A Terraform module to generate TLS RSA certificates with a self provisioned CA

Install
module "certificates-generator" {
source = "ish-xyz/certificates-generator/tls"
version = "0.1.0"
}
plain text: /constructs/tfmod-ish-xyz-certificates-generator-tls/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform Module certificates-generator A Terraform module to generate TLS RSA certificates with a self provisioned CA This terraform modules uses the tls_provider resources defined in -> https://www.terraform.io/docs/providers/tls/index.html The input variables are: key_filename cert_filename validity_period org cn location country ou The output is: It will create 2 files 1 certificate and 1 key. module_name.key -> private key * module_name.cert -> certificate

Inputs (12)
NameTypeDescriptionDefault
cnstringCertificate Common Name required
countrystringCertificate Country required
orgstringCertificate Organization required
locationstringCertificate Location required
oustringCertificate Organizational Unit required
ca_certstringIf default the module will create a new CA"generated"
dns_nameslistList of ip, hostnames the certificate is for.[]
key_filenamestringAbsolute or relative path of the filename that will be generated"attribute_only"
cert_filenamestringAbsolute or relative path of the filename that will be generated"attribute_only"
ca_keystringIf default the module will create a new CA"generated"
validity_periodnumberValidity Period in hours of both the CA and the certificate8760
ip_addresseslistList of ip_addresses for which the certificate will be valid (e.g. foo.example.c[]
Outputs (4)
key
cert
ca_key
ca_cert
Resources (5)
local_filetls_cert_requesttls_locally_signed_certtls_private_keytls_self_signed_cert
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.0
Cloud TLS
Total downloads878
Inputs12
Outputs4
Resources5
Namespaceish-xyz
Updated