This repo contains a Module for how to deploy a Cfssl server on OVH Public Cloud using Terraform. Cfssl is the Cloudflare's PKI and TLS toolkit. You can use this module to typically generate your own CA and TLS keypairs for your cluster nodes, such as etcd, consul, ....
module "cfssl" {
source = "ovh/publiccloud-cfssl/ovh"
name = "mypki"
region = "GRA3""
image_name = "CoreOS Stable Cfssl"
associate_public_ipv4 = true
associate_private_ipv4 = false
post_install_modules = false
}
This module has the following folder structure:
- root: This folder shows an example of Terraform code which deploys a Cfssl server in OVH Public Cloud.
- modules: This folder contains the reusable code for this Module, broken down into one or more modules.
- examples: This folder contains examples of how to use the modules.
To deploy a Cfssl server using this Module:
-
(Optional) Create a Cfssl Glance Image using a Packer template that references the install-cfssl module. Here is an example Packer template.
-
Deploy that Image using the Terraform cfssl-public-server example. If you prebuilt a cfssl glance image with packer, you can comment the post provisionning modules arguments.
Contributions are very welcome! Check out the Contribution Guidelines for instructions.
Module managed by Yann Degat.
The 3-Clause BSD License. See LICENSE for full details.