2019-02-09 00:51:53 +01:00
|
|
|
locals {
|
|
|
|
cert_options = <<EOF
|
|
|
|
--cert-file=/etc/ssl/etcd/server.crt \
|
|
|
|
--peer-trusted-ca-file=/etc/ssl/etcd/ca.crt \
|
2019-02-20 20:53:56 +01:00
|
|
|
--peer-client-cert-auth=true
|
|
|
|
EOF
|
2019-02-09 00:51:53 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
output "local" {
|
2019-03-15 21:29:25 +01:00
|
|
|
value = local.cert_options
|
2019-02-09 00:51:53 +01:00
|
|
|
}
|