Skip to content

Latest commit

 

History

History
58 lines (50 loc) · 1.25 KB

README.md

File metadata and controls

58 lines (50 loc) · 1.25 KB

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