Skip to content

Commit

Permalink
fix(DMVP-5330): have all eks native logs disabled including audit one…
Browse files Browse the repository at this point in the history
…s in eks-fluent-bit test
  • Loading branch information
mrdntgrn committed Sep 19, 2024
1 parent 793bdf5 commit 785820f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions tests/eks-fluent-bit/1-example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ module "this" {
"additional_metrics" : [],
"log_group_name" : "adot-logs"
}
cluster_enabled_log_types = ["audit"]
cluster_name = "test-eks-fluent-bit"
cluster_version = "1.27"
metrics_exporter = "adot"
cluster_name = "test-eks-fluent-bit"
cluster_version = "1.27"
metrics_exporter = "adot"
node_groups = {
"dev_nodes" : {
"desired_size" : 1,
Expand All @@ -43,10 +42,10 @@ module "this" {

fluent_bit_configs = {
configs = {
inputs = templatefile("${path.module}/templates/inputs.yaml.tpl", {})
outputs = templatefile("${path.module}/templates/outputs.yaml.tpl", {})
filters = templatefile("${path.module}/templates/filters.yaml.tpl", {})
# cloudwatch_outputs_enabled = false # uncomment in case you want also to disable default cloudwatch log exporters/outputs
inputs = templatefile("${path.module}/templates/inputs.yaml.tpl", {})
outputs = templatefile("${path.module}/templates/outputs.yaml.tpl", {})
filters = templatefile("${path.module}/templates/filters.yaml.tpl", {})
cloudwatch_outputs_enabled = false # have false in case you want also disable default cloudwatch log exporters/outputs
}
drop_namespaces = [
"kube-system",
Expand Down

0 comments on commit 785820f

Please sign in to comment.