From 53693cf2ddf654df5229b9a8d685e30ec1d6fcfc Mon Sep 17 00:00:00 2001 From: Matthew Creal Morgan Date: Mon, 24 Feb 2025 14:49:09 -0800 Subject: [PATCH] Read fix (#9) * add wait and timeout * update tempo defaults * update precommit --- .pre-commit-config.yaml | 2 +- README.md | 4 ++-- main.tf | 12 ++++++------ tempo_values.yaml | 1 + 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5a5c34b..ef52d70 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: # Terraform Hooks - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.96.1 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases + rev: v1.97.3 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases hooks: - id: terraform_fmt args: diff --git a/README.md b/README.md index b50041a..2f92f12 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,8 @@ Developer NOTE: We should automate this configuration. | Name | Version | |------|---------| -| [aws](#provider\_aws) | 5.73.0 | -| [helm](#provider\_helm) | 2.16.1 | +| [aws](#provider\_aws) | >= 5.14.0 | +| [helm](#provider\_helm) | >= 2.11.0 | ## Modules diff --git a/main.tf b/main.tf index 6458cc4..b0cb5dd 100644 --- a/main.tf +++ b/main.tf @@ -42,16 +42,17 @@ resource "helm_release" "tempo" { create_namespace = true repository = "https://grafana.github.io/helm-charts" values = [file("${path.module}/tempo_values.yaml")] - + wait = true + timeout = 300 set { name = "tempo.storage.trace.s3.insecure" value = "false" } - # set { - # name = "replicas" - # value = "3" - # } + set { + name = "tempo.replicas" + value = "2" + } set { name = "tempo.repository" value = format("%v/%v", @@ -84,5 +85,4 @@ resource "helm_release" "tempo" { value = var.rwo_storage_class } - timeout = 60 } diff --git a/tempo_values.yaml b/tempo_values.yaml index f9aaa61..8be8c8b 100644 --- a/tempo_values.yaml +++ b/tempo_values.yaml @@ -1,3 +1,4 @@ +--- tempo: storage: trace: