Created
October 22, 2025 12:17
-
-
Save artem-hatchenko/12a422482e967a9a4ea8bb236820d2fe to your computer and use it in GitHub Desktop.
eks_fluent_bit_module_example.tf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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