Skip to content

The terraform module simpleRSA should be an easy approach to implement an automated CA without the hassle to manage it outside of terraform. Feel free to contribute! Thanks!

Notifications You must be signed in to change notification settings

SinnConsulting/terraform-tls-simpleRSA

Repository files navigation

terraform-tls-simpleRSA

How to use

hashicorp registry

module "simpleRSA" {
  source  = "SinnConsulting/simpleRSA/tls"
  # version = "<version>"

  # insert the 2 required variables here
  dns_names = [
    "simplersa001.sinn.consulting",
    "simplersa002.sinn.consulting",
    "simplersa003.sinn.consulting",
  ]

  organization = "SinnConsulting"
}

local

module "simpleRSA" {
  source = "./terraform-tls-simpleRSA"

  # insert the 2 required variables here
  dns_names = [
    "simplersa001.sinn.consulting",
    "simplersa002.sinn.consulting",
    "simplersa003.sinn.consulting",
  ]

  organization = "SinnConsulting"
}

Output

|____main.tf
|____terraform.tfstate
...
|____ca_keys
| |____SinnConsulting_root.key
| |____SinnConsulting_intermediate.key
|____certs
| |____simplersa002.sinn.consulting.fullchain.crt
| |____simplersa001.sinn.consulting.crt
| |____simplersa003.sinn.consulting.key
| |____simplersa003.sinn.consulting.fullchain.crt
| |____SinnConsulting_intermediate.crt
| |____simplersa001.sinn.consulting.key
| |____simplersa002.sinn.consulting.key
| |____simplersa002.sinn.consulting.crt
| |____SinnConsulting_root.crt
| |____simplersa001.sinn.consulting.fullchain.crt
| |____simplersa003.sinn.consulting.crt

About

The terraform module simpleRSA should be an easy approach to implement an automated CA without the hassle to manage it outside of terraform. Feel free to contribute! Thanks!

Topics

Resources

Stars

Watchers

Forks

Languages