mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-28 08:46:50 +00:00
Pre-commit fixes (#44)
* Pre-commit fixes * Restrict terraform version to < 1.3.0 * fixup! Restrict terraform version to < 1.3.0 * fixup! Restrict terraform version to < 1.3.0 * Pinned min version to 1.1.0, support for nullable * Update README.md
This commit is contained in:
@@ -24,23 +24,10 @@ provider "helm" {
|
||||
}
|
||||
}
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
grafana = {
|
||||
source = "grafana/grafana"
|
||||
version = ">= 1.25.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
locals {
|
||||
name = basename(path.cwd)
|
||||
region = var.aws_region
|
||||
|
||||
eks_oidc_issuer_url = replace(data.aws_eks_cluster.this.identity[0].oidc[0].issuer, "https://", "")
|
||||
eks_cluster_endpoint = data.aws_eks_cluster.this.endpoint
|
||||
eks_cluster_version = data.aws_eks_cluster.this.version
|
||||
|
||||
create_new_workspace = var.managed_prometheus_workspace_id == "" ? true : false
|
||||
|
||||
tags = {
|
||||
@@ -84,7 +71,6 @@ provider "grafana" {
|
||||
auth = var.grafana_api_key
|
||||
}
|
||||
|
||||
//*
|
||||
module "workloads_nginx" {
|
||||
source = "../../modules/workloads/nginx"
|
||||
|
||||
@@ -102,4 +88,3 @@ module "workloads_nginx" {
|
||||
module.eks_observability_accelerator
|
||||
]
|
||||
}
|
||||
//*/
|
||||
|
||||
Reference in New Issue
Block a user