Learn how to fetch values from layer definitions
layerform output <layer_definition> <intance_name>
.
elasticsearch_url
in your local Kibana’s configuration to point to the remote Elasticsearch. You could also have outputs for Elasticsearch’s username and password.
--template
flag.
Assume you have the following kibana-template.yml
file, for example.
elasticsearch.hosts
value.
You can fill this value by using layerform output <layer_name> <instance_name> --template kibana-template.yml
. That way, you can get a rendered file with all outputs filled in.