Fix dependency issue

This commit is contained in:
Rodrigue Koffi
2022-08-10 00:00:15 +02:00
parent 6dca51b135
commit 031a47e1b3
5 changed files with 18 additions and 30 deletions
+1 -6
View File
@@ -3,16 +3,11 @@ terraform {
required_providers {
grafana = {
source = "grafana/grafana"
version = "1.24.0"
version = "1.25.0"
}
}
}
provider "grafana" {
url = var.managed_grafana_workspace_endpoint
auth = var.grafana_api_key
}
resource "helm_release" "kube_state_metrics" {
count = var.config.enable_kube_state_metrics ? 1 : 0
chart = var.config.ksm_helm_chart_name
-11
View File
@@ -3,7 +3,6 @@ variable "eks_cluster_id" {
type = string
}
variable "helm_config" {
description = "Helm Config for Prometheus"
type = any
@@ -39,16 +38,6 @@ variable "managed_prometheus_workspace_region" {
default = null
}
variable "managed_grafana_workspace_endpoint" {
type = string
default = ""
}
variable "grafana_api_key" {
type = string
default = null
}
variable "dashboards_folder_id" {
type = string
}
+1 -2
View File
@@ -1,4 +1,3 @@
locals {
name = "adot-collector-java"
namespace = try(var.helm_config.namespace, local.name)
@@ -8,7 +7,7 @@ terraform {
required_providers {
grafana = {
source = "grafana/grafana"
version = "1.24.0"
version = "1.25.0"
}
}
}