12 lines
203 B
Terraform
12 lines
203 B
Terraform
|
locals {
|
||
|
cert_options = <<EOF
|
||
|
--cert-file=/etc/ssl/etcd/server.crt \
|
||
|
--peer-trusted-ca-file=/etc/ssl/etcd/ca.crt \
|
||
|
--peer-client-cert-auth=trueEOF
|
||
|
|
||
|
}
|
||
|
|
||
|
output "local" {
|
||
|
value = local.cert_options
|
||
|
}
|