Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soerenschneider/tf-grafana
https://github.com/soerenschneider/tf-grafana
automation grafana grafana-dashboard iac infrastructure-as-code opentofu terragrunt terratest
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/soerenschneider/tf-grafana
- Owner: soerenschneider
- Created: 2024-07-02T20:03:24.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-10-07T21:31:34.000Z (3 months ago)
- Last Synced: 2024-10-25T10:04:21.902Z (3 months ago)
- Topics: automation, grafana, grafana-dashboard, iac, infrastructure-as-code, opentofu, terragrunt, terratest
- Language: HCL
- Homepage:
- Size: 249 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tf-grafana
![gitleaks](https://github.com/soerenschneider/tf-grafana/actions/workflows/gitleaks.yaml/badge.svg)
![lint-workflow](https://github.com/soerenschneider/tf-grafana/actions/workflows/lint.yaml/badge.svg)
![security-workflow](https://github.com/soerenschneider/tf-grafana/actions/workflows/security.yaml/badge.svg)
![terratest](https://github.com/soerenschneider/tf-grafana/actions/workflows/terratest.yaml/badge.svg)This repository implements Infrastructure as Code (IaC) using [OpenTofu](https://opentofu.org/) to configure Grafana instances and write service account credentials to Hashicorp Vault.
## Table of Contents
- [Overview](#overview)
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Installation](#installation)## Getting Started
Follow these instructions to set up the repository and start managing your Grafana and Vault resources.
### Prerequisites
- [OpenTofu](https://opentofu.org/)
- Terragrunt
- Docker-compose### Running the code
1. **Clone the repository:**
```bash
git clone https://github.com/soerenschneider/tf-grafana.git
cd tf-grafana
```2. **Provisioning resources:**
```bash
cd envs/dev
bash run.sh
```### Tests
This repository utilizes Terratest for automated testing of OpenTofu modules and configurations.
1. **Running the tests:**
```bash
$ make tests
```