variable "write_address" { type = string description = "This is the Loki Write API compatible endpoint that you want to write logs to, either promtail or Loki." default = "http://localhost:8080/loki/api/v1/push" } variable "bucket_names" { type = list(string) description = "List of S3 bucket names to create Event Notifications for." default = [] } variable "log_group_names" { type = list(string) description = "List of CloudWatch Log Group names to create Subscription Filters for." default = [] } variable "lambda_promtail_image" { type = string description = "The ECR image URI to pull and use for lambda-promtail." default = "" } variable "username" { type = string description = "The basic auth username, necessary if writing directly to Grafana Cloud Loki." default = "" } variable "password" { type = string description = "The basic auth password, necessary if writing directly to Grafana Cloud Loki." sensitive = true default = "" } variable "tenant_id" { type = string description = "Tenant ID to be added when writing logs from lambda-promtail." default = "" } variable "keep_stream" { type = string description = "Determines whether to keep the CloudWatch Log Stream value as a Loki label when writing logs from lambda-promtail." default = "false" } variable "extra_labels" { type = string description = "Comma separated list of extra labels, in the format 'name1,value1,name2,value2,...,nameN,valueN' to add to entries forwarded by lambda-promtail." default = "" } variable "batch_size" { type = string description = "Determines when to flush the batch of logs (bytes)." default = "" } variable "lambda_vpc_subnets" { type = list(string) description = "List of subnet IDs associated with the Lambda function." default = [] } variable "lambda_vpc_security_groups" { type = list(string) description = "List of security group IDs associated with the Lambda function." default = [] } variable "kms_key_arn" { type = string description = "kms key arn for encryp env vars." default = "" }