Skip to content

Commit c93e2cf

Browse files
committed
Cosmetics
1 parent 680a424 commit c93e2cf

File tree

3 files changed

+2
-42
lines changed

3 files changed

+2
-42
lines changed

locals.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ data "aws_grafana_workspace" "this" {
1313
workspace_id = var.managed_grafana_workspace_id
1414
}
1515

16-
1716
locals {
1817
eks_oidc_issuer_url = replace(data.aws_eks_cluster.eks_cluster.identity[0].oidc[0].issuer, "https://", "")
1918
eks_cluster_endpoint = data.aws_eks_cluster.eks_cluster.endpoint

main.tf

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ resource "aws_prometheus_alert_manager_definition" "this" {
1818

1919
workspace_id = local.amp_ws_id
2020

21-
# TODO: support custom alert manager config
2221
definition = <<EOF
2322
alertmanager_config: |
2423
route:
@@ -64,41 +63,3 @@ resource "grafana_data_source" "amp" {
6463
resource "grafana_folder" "this" {
6564
title = "Observability Accelerator Dashboards"
6665
}
67-
68-
# module "java" {
69-
# count = var.enable_java ? 1 : 0
70-
# source = "./modules/workloads/java"
71-
72-
# addon_context = local.context
73-
74-
# amp_endpoint = local.amp_ws_endpoint
75-
# amp_id = local.amp_ws_id
76-
# amp_region = local.amp_ws_region
77-
78-
# enable_recording_rules = var.enable_java_recording_rules
79-
80-
# dashboards_folder_id = grafana_folder.this.id
81-
82-
# depends_on = [
83-
# module.operator
84-
# ]
85-
# }
86-
87-
# module "infra" {
88-
# count = var.enable_infra_metrics ? 1 : 0
89-
# source = "./modules/workloads/kube-prometheus"
90-
91-
# addon_context = local.context
92-
93-
# amp_endpoint = local.amp_ws_endpoint
94-
# amp_id = local.amp_ws_id
95-
# amp_region = local.amp_ws_region
96-
# config = var.infra_metrics_config
97-
98-
# dashboards_folder_id = grafana_folder.this.id
99-
100-
# depends_on = [
101-
# module.operator
102-
# ]
103-
104-
# }

modules/workloads/java/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ terraform {
77
required_providers {
88
grafana = {
99
source = "grafana/grafana"
10-
version = "1.25.0"
10+
version = "~> 1.25.0"
1111
}
1212
}
1313
}
@@ -16,7 +16,7 @@ data "aws_partition" "current" {}
1616

1717
# deploys collector
1818
module "helm_addon" {
19-
source = "github.com/aws-observability/terraform-aws-eks-blueprints/modules/kubernetes-addons/helm-addon"
19+
source = "github.com/aws-ia/terraform-aws-eks-blueprints/modules/kubernetes-addons/helm-addon"
2020

2121

2222
helm_config = merge(

0 commit comments

Comments
 (0)