Skip to content

Commit

Permalink
feat: add loki bucket lifecycle rule
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Lefevre <lefevre.kevin@gmail.com>
  • Loading branch information
ArchiFleKs committed Feb 4, 2021
1 parent f7984ac commit 8ff7e75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/aws/loki-stack.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ locals {
default_network_policy = true
create_bucket = true
bucket = "loki-store-${var.cluster-name}"
bucket_lifecycle_rule = []
bucket_force_destroy = false
generate_ca = true
trusted_ca_content = null
Expand Down Expand Up @@ -243,6 +244,8 @@ module "loki_bucket" {
}
}
}

lifecycle_rule = local.bucket_lifecycle_rule
}

resource "tls_private_key" "loki-stack-ca-key" {
Expand Down

0 comments on commit 8ff7e75

Please sign in to comment.