terraform-cloudfoundry-loki
Deploys a Grafana Loki instance to Cloud foundry
Please post your questions on the HSDP Slack #terraform
channel
License is MIT
Name |
Source |
Version |
logdrain |
./modules/logdrain |
n/a |
proxy |
./modules/proxy |
n/a |
Name |
Description |
Type |
Default |
Required |
caddy_image |
Caddy server image to use |
string |
"caddy/caddy:2.6.1" |
no |
cf_domain |
The CF domain name to use |
string |
n/a |
yes |
cf_space_id |
The CF Space to deploy in |
string |
n/a |
yes |
disk |
The amount of Disk space to allocate for Grafana Loki (MB) |
number |
4096 |
no |
docker_password |
Docker registry password |
string |
"" |
no |
docker_username |
Docker registry username |
string |
"" |
no |
enable_cf_logdrain |
Enables creation of a Cloud foundry logdrain service |
bool |
false |
no |
enable_public_proxy |
Enables an authenticated public proxy endpoint |
bool |
false |
no |
environment |
Environment variables for Grafana Loki |
map(any) |
{} |
no |
loki_cf_logdrain_image |
loki-cf-logdrain Docker image to use |
string |
"ghcr.io/philips-software/loki-cf-logdrain:v0.5.6" |
no |
loki_image |
Loki Docker image to use |
string |
"grafana/loki:2.8.0" |
no |
max_query_series |
Maximum query series |
number |
500 |
no |
memory |
The amount of RAM to allocate for Loki (MB) |
number |
1024 |
no |
name_postfix |
The postfix string to append to the hostname, prevents namespace clashes |
string |
"" |
no |
network_policies |
The container-to-container network policies to create with Grafana as the source app |
list(object({ destination_app = string protocol = string port = string })) |
[] |
no |
s3_broker_settings |
The S3 service broker to use |
object({ service_broker = string service_plan = string }) |
{ "service_broker": "hsdp-s3", "service_plan": "s3_bucket" } |
no |
s3_credentials |
n/a |
object({ access_key = string secret_key = string endpoint = string bucket = string }) |
{ "access_key": "", "bucket": "", "endpoint": "", "secret_key": "" } |
no |