Skip to content

Configuration

component "loki" {
  namespace = "loki" # optional

  # Params default values

  store = "filesystem" # required, storage provider for loki, available options: "filesystem", "s3"

  # if using s3 for storage, this section is required and must point to an S3 bucket
  s3 = {
    region = ""        # required, bucket region
    bucket = ""        # required, bucket name
    endpoint = ""      # required, S3 endpoint
    encrypted = true   # required, enable to use server-side encryption
    insecure = false   # required, enable to skip server certificate validation
    pathStyle = false  # required, enable to force path-style requests (eg. minio and similar providers)
    eksRole = ""       # optional, EKS role
    iamRole = ""       # optional, IAM role
  }

  # override if grafana is running in a different namespace
  grafana = {
    namespace: "" # optional
  }
}