Skip to content

Terraform Ignition modules for bootstrapping an etcd cluster.

License

Notifications You must be signed in to change notification settings

edsoncsouza/terraform-ignition-etcd

 
 

Repository files navigation

Terraform test GitHub license

Terraform etcd Ignition module

A terraform Ignition module to bootstrap an etcd cluster with CoreOS Container Linux/Flatcar Container Linux/Fedora CoreOS. (Experiment)

Features

  • etcd v3.5.0+.
  • On-cluster etcd with TLS.

Requirements

Usage example

The following block is show you how to use this module for bootstrapping a cluster:

module "ignition_etcd" {
  source = "git::ssh://git@github.com/getamis/terraform-ignition-etcd"

  name                  = "test"
  discovery_service_srv = "etcd.example.com"

  // Create certs through https://github.com/getamis/vishwakarma/tree/master/modules/tls.
  certs = {
    ca_cert     = module.etcd_ca.cert_pem
    client_key  = module.etcd_client_cert.private_key_pem
    client_cert = module.etcd_client_cert.cert_pem
    server_key  = module.etcd_server_cert.private_key_pem
    server_cert = module.etcd_server_cert.cert_pem
    peer_key    = module.etcd_peer_cert.private_key_pem
    peer_cert   = module.etcd_peer_cert.cert_pem
  }
}

See docs/variables.md for the detail variable inputs and outputs.

Contributing

There are several ways to contribute to this project:

  1. Find bug: create an issue in our Github issue tracker.
  2. Fix a bug: check our issue tracker, leave comments and send a pull request to us to fix a bug.
  3. Make new feature: leave your idea in the issue tracker and discuss with us then send a pull request!

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

About

Terraform Ignition modules for bootstrapping an etcd cluster.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 60.0%
  • HCL 29.0%
  • Smarty 7.1%
  • Makefile 3.9%