Skip to content

Latest commit

 

History

History
72 lines (60 loc) · 6.04 KB

variables.md

File metadata and controls

72 lines (60 loc) · 6.04 KB

Terraform variables inputs and outputs

This document gives an overview of variables used in the Ignition of the etcd module.

Requirements

Name Version
terraform >= 1.2.0
ignition 2.1.2
random >= 2.2.0

Providers

Name Version
ignition 2.1.2
random >= 2.2.0

Modules

No modules.

Resources

Name Type
random_uuid.etcd_data_fs_uuid resource
ignition_disk.ectd_data data source
ignition_file.etcd_ca data source
ignition_file.etcd_client_cert data source
ignition_file.etcd_client_key data source
ignition_file.etcd_env data source
ignition_file.etcd_metrics_proxy_wrapper_sh data source
ignition_file.etcd_peer_cert data source
ignition_file.etcd_peer_key data source
ignition_file.etcd_server_cert data source
ignition_file.etcd_server_key data source
ignition_file.etcd_wrapper_sh data source
ignition_filesystem.ectd_data data source
ignition_systemd_unit.etcd_data_mount data source
ignition_systemd_unit.etcd_metrics_proxy_service data source
ignition_systemd_unit.etcd_service data source

Inputs

Name Description Type Default Required
cert_file_owner n/a
object({
uid = number
gid = number
})
{
"gid": 232,
"uid": 232
}
no
certs The etcd certificates. map(string) {} no
client_port etcd client communication port. number 2379 no
cloud_provider The name of public cloud. string "aws" no
containers Desired containers(etcd, etcd-metrics-proxy) repo and tag.
map(object({
repo = string
tag = string
}))
{} no
data_path The path for data store. string "/var/lib/etcd" no
device_name Which block device will attach to data path. string "/dev/nvme1n1" no
discovery_service_srv DNS srv domain used to bootstrap the cluster. string n/a yes
enable_metrics_proxy enable etcd-metrics-proxy to allow scrape metrics without etcd certificates. bool true no
extra_flags The extra flags of etcd. The variables need to follow https://etcd.io/docs/v3.4.0/op-guide/configuration/. Do not use underline. map {} no
log_level etcd log level, supports debug, info, warn, error, panic, or fatal string "info" no
name Human-readable name for this member. string n/a yes
peer_port etcd server to server port. number 2380 no
pki_path The etcd certificates path string "/etc/ssl/etcd" no
proxy_port etcd-metrics-proxy expose port. number 2381 no

Outputs

Name Description
disks n/a
files n/a
filesystems n/a
systemd_units n/a