mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-17 00:23:17 +00:00
Fix dependency issue
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user