From 8963cd7212cf4206d4aef785a91860b0337fff4e Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Fri, 17 Nov 2023 17:22:35 +0100 Subject: [PATCH] Properly configured thanos --- terraform/main.tf | 4 ++++ terraform/variables.tf | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/terraform/main.tf b/terraform/main.tf index aeababd..83640f2 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -66,4 +66,8 @@ module "test_cluster" { vault_allowed_namespaces = ["wahlrecht"] hcloud_token_enabled = true hcloud_token = var.hcloud_token + thanos_enabled = true + thanos_s3_bucket_name = "2martens-thanos-store" + aws_access_key = var.aws_access_key + aws_secret_key = var.aws_secret_key } \ No newline at end of file diff --git a/terraform/variables.tf b/terraform/variables.tf index 777da04..dff7ac6 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -58,4 +58,15 @@ variable "vault_client_secret" { description = "Client Secret of the service principal used to access Hashicorp Cloud" type = string sensitive = true +} + +variable "aws_access_key" { + description = "Access key for AWS" + type = string + sensitive = true +} +variable "aws_secret_key" { + description = "Secret key for AWS" + type = string + sensitive = true } \ No newline at end of file