A terraform Ignition module to bootstrap an etcd cluster with CoreOS Container Linux/Flatcar Container Linux/Fedora CoreOS. (Experiment)
- etcd v3.5.0+.
- On-cluster etcd with TLS.
- Terraform v1.2.0+.
- terraform-provider-ignition 1.2.1+.
The following block is show you how to use this module for bootstrapping a cluster:
module "ignition_etcd" {
source = "git::ssh://[email protected]/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.
There are several ways to contribute to this project:
- Find bug: create an issue in our Github issue tracker.
- Fix a bug: check our issue tracker, leave comments and send a pull request to us to fix a bug.
- Make new feature: leave your idea in the issue tracker and discuss with us then send a pull request!
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.