Skip to content

Instantly share code, notes, and snippets.

@artem-hatchenko
Created October 22, 2025 12:17
Show Gist options
  • Select an option

  • Save artem-hatchenko/12a422482e967a9a4ea8bb236820d2fe to your computer and use it in GitHub Desktop.

Select an option

Save artem-hatchenko/12a422482e967a9a4ea8bb236820d2fe to your computer and use it in GitHub Desktop.
eks_fluent_bit_module_example.tf
# AWS Fluent Bit
module "fluent-bit" {
log_s3_outputs = [
{
bucket = "dev.logs.qwerty"
namespace = "dev"
app = "qwerty-web"
tag_prefix = "dev-qwerty-web"
bucket_out_prefix = "/qwerty-web"
},
{
bucket = "dev.logs.qwerty"
namespace = "dev"
app = "qwerty-api"
tag_prefix = "dev-qwerty-api"
bucket_out_prefix = "/qwerty-api"
shipping_logs_to_os = "true"
},
{
bucket = "stage.logs.qwerty"
namespace = "stage"
app = "qwerty-web"
tag_prefix = "stage-qwerty-web"
bucket_out_prefix = "/qwerty-web"
},
{
bucket = "stage.logs.qwerty"
namespace = "stage"
app = "qwerty-api"
tag_prefix = "stage-qwerty-api"
bucket_out_prefix = "/qwerty-api"
shipping_logs_to_os = "true"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment