Skip to content

Latest commit

 

History

History

loki-cf-logdrain

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

loki-cf-logdrain module

Use this module to deploy loki-cf-logdrain in your Cloud foundry space

Requirements

Name Version
cloudfoundry >= 0.50.4

Providers

Name Version
cloudfoundry 0.50.4
random 3.4.3

Modules

No modules.

Resources

Name Type
cloudfoundry_app.loki_cf_logdrain resource
cloudfoundry_network_policy.loki resource
cloudfoundry_route.loki_cf_logdrain resource
cloudfoundry_user_provided_service.logdrain resource
random_password.token resource
cloudfoundry_domain.domain data source

Inputs

Name Description Type Default Required
cf_domain The CF domain to create the route in. string n/a yes
cf_space_id The CF space id to deploy into. string n/a yes
disk The amount of Disk space to allocate for Grafana Loki (MB) number 1024 no
docker_registry_image The Docker registry image to use. string "ghcr.io/philips-software/loki-cf-logdrain" no
docker_tag n/a string "latest" no
loki_network_policy Network policy configuration in case the Loki is running on CF
object({
app_id = string
port = string
})
{
"app_id": "",
"port": 3100
}
no
loki_password The Loki password used for basic auth. string "" no
loki_push_endpoint The Loki push endpoint. This should include /loki/api/v1/push string n/a yes
loki_username The Loki username used for basic auth. Default: loki string "" no
memory n/a number 256 no
name_postfix The name postfix to apply string n/a yes

Outputs

Name Description
logdrain_service_id The uuid of the logdrain service. You can bind this to your app to enable logdraining
logdrain_url Logdrain URL