Modules

The following Modules are called:

kube-prometheus-stack

Source: ../

Version:

Required Inputs

The following input variables are required:

cluster_name

Description: n/a

Type: string

base_domain

Description: n/a

Type: string

argocd_namespace

Description: n/a

Type: string

Optional Inputs

The following input variables are optional (have default values):

metrics_storage

Description: AWS S3 bucket configuration values for the bucket where the archived metrics will be stored.

Type:

object({
    bucket_id    = string
    region       = string
    iam_role_arn = string
  })

Default: null

target_revision

Description: Override of target revision of the application chart.

Type: string

Default: "v2.0.0"

cluster_issuer

Description: n/a

Type: string

Default: "ca-issuer"

namespace

Description: n/a

Type: string

Default: "kube-prometheus-stack"

helm_values

Description: Helm values, passed as a list of HCL structures.

Type: any

Default: []

app_autosync

Description: Automated sync options for the Argo CD Application resource.

Type:

object({
    allow_empty = optional(bool)
    prune       = optional(bool)
    self_heal   = optional(bool)
  })

Default:

{
  "allow_empty": false,
  "prune": true,
  "self_heal": true
}

dependency_ids

Description: n/a

Type: map(string)

Default: {}

deep_merge_append_list

Description: A boolean flag to enable/disable appending lists instead of overwriting them.

Type: bool

Default: false

grafana

Description: Grafana settings

Type: any

Default: {}

prometheus

Description: Prometheus settings

Type: any

Default: {}

alertmanager

Description: Alertmanager settings

Type: any

Default: {}

metrics_storage_main

Description: Storage settings for the Thanos sidecar. Needs to be of type any because the structure is different depending on the provider used.

Type: any

Default: {}

Outputs

The following outputs are exported:

id

Description: n/a

grafana_admin_password

Description: The admin password for Grafana.

grafana_enabled

Description: n/a

prometheus_enabled

Description: n/a

alertmanager_enabled

Description: n/a

Modules

Name Source Version

Inputs

Name Description Type Default Required

AWS S3 bucket configuration values for the bucket where the archived metrics will be stored.

object({
    bucket_id    = string
    region       = string
    iam_role_arn = string
  })

null

no

n/a

string

n/a

yes

n/a

string

n/a

yes

n/a

string

n/a

yes

Override of target revision of the application chart.

string

"v2.0.0"

no

n/a

string

"ca-issuer"

no

n/a

string

"kube-prometheus-stack"

no

Helm values, passed as a list of HCL structures.

any

[]

no

Automated sync options for the Argo CD Application resource.

object({
    allow_empty = optional(bool)
    prune       = optional(bool)
    self_heal   = optional(bool)
  })
{
  "allow_empty": false,
  "prune": true,
  "self_heal": true
}

no

n/a

map(string)

{}

no

A boolean flag to enable/disable appending lists instead of overwriting them.

bool

false

no

Grafana settings

any

{}

no

Prometheus settings

any

{}

no

Alertmanager settings

any

{}

no

Storage settings for the Thanos sidecar. Needs to be of type any because the structure is different depending on the provider used.

any

{}

no

Outputs

Name Description

id

n/a

The admin password for Grafana.

n/a

n/a

n/a