An open API service indexing awesome lists of open source software.

https://github.com/soerenschneider/tf-rabbitmq


https://github.com/soerenschneider/tf-rabbitmq

automation iac infrastructure-as-code messaging opentofu rabbitmq terragrunt terratest vault

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# tf-rabbitmq

![gitleaks](https://github.com/soerenschneider/tf-rabbitmq/actions/workflows/gitleaks.yaml/badge.svg)
![lint-workflow](https://github.com/soerenschneider/tf-rabbitmq/actions/workflows/lint.yaml/badge.svg)
![security-workflow](https://github.com/soerenschneider/tf-rabbitmq/actions/workflows/security.yaml/badge.svg)
![terratest](https://github.com/soerenschneider/tf-rabbitmq/actions/workflows/terratest.yaml/badge.svg)

This repository implements Infrastructure as Code (IaC) using [OpenTofu](https://opentofu.org/) to configure RabbitMQ clusters and write user 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 RabbitMQ and Vault resources.

### Prerequisites

- [OpenTofu](https://opentofu.org/)
- Docker-compose

### Running the code

1. **Clone the repository:**
```bash
git clone https://github.com/soerenschneider/tf-rabbitmq.git
cd tf-rabbitmq
```

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
```