Skip to content

Adaptavist/terraform-module-helm-grafana

Repository files navigation

modoule-helm-grafana

A module that deploys grafana within a kubernetes cluster using the helm provider offered by terraform. Alongside Grafana, Promtheus and loki are also installed. Persistent volumes are used to keep track of any state. Grafana also uses Okta for its authorisation and authentication.

Requirements

Name Version
okta ~> 3.10

Providers

Name Version
aws n/a
helm n/a
okta ~> 3.10

Modules

Name Source Version
acm_request_certificate git::https://github.com/cloudposse/terraform-aws-acm-request-certificate.git tags/0.16.0

Resources

Name Type
helm_release.grafana resource
helm_release.loki resource
okta_app_group_assignments.admins resource
okta_app_group_assignments.viewers resource
okta_app_oauth.app resource
okta_group.admins resource
okta_group.viewers resource
okta_group_rule.admin_group_rule resource
okta_group_rule.viewer_admin_group_rule resource
aws_caller_identity.current data source
aws_region.current data source
okta_group.source_okta_admin_group data source
okta_group.source_okta_viewers_group data source

Inputs

Name Description Type Default Required
acm_r53_zone_name The R53 zone name to use when creating the ACM cert string n/a yes
admin_okta_groups Okta group which will get admin access to the grafana instance. Only groups that start 'AWS' can be used at this stage. list(string)
[
"AWSPlatformEksAdmin"
]
no
alertmanager_storage Storage in GB to allocate to the underlying alert manager service number 5 no
create_namespace Should the name space be created if ti does not exist bool false no
grafana_chart_version Version of the grafana helm chart to use, the chart come from the repo https://prometheus-community.github.io/helm-charts string "32.2.1" no
loki_chart_version Version of the loki helm chart to use, the chart come from the repo https://grafana.github.io/helm-charts string "2.6.1" no
loki_storage Storage in GB to allocate to the underlying loki service number 15 no
name The name of the grafana instance string "grafana" no
namespace The k8 namespace to create the grafana stack within string n/a yes
prometheus_storage Storage in GB to allocate to the underlying prometheus service number 15 no
tags Tags that will be added to any AWS resources that are created map(any) n/a yes
viewers_okta_groups Okta group which will get viewer access to the grafana instance. Only groups that start 'AWS' can be used at this stage. list(string) [] no

Outputs

Name Description
grafana_url n/a

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages