Skip to content

soerenschneider/tf-grafana

Repository files navigation

tf-grafana

gitleaks lint-workflow security-workflow terratest

This repository implements Infrastructure as Code (IaC) using OpenTofu to configure Grafana instances and write service account credentials to Hashicorp Vault.

Table of Contents

Getting Started

Follow these instructions to set up the repository and start managing your Grafana and Vault resources.

Prerequisites

Running the code

  1. Clone the repository:

    git clone https://github.com/soerenschneider/tf-grafana.git
    cd tf-grafana
  2. Provisioning resources:

    cd envs/dev
    bash run.sh

Tests

This repository utilizes Terratest for automated testing of OpenTofu modules and configurations.

  1. Running the tests:
    $ make tests