Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Managing my minio instances
https://github.com/soerenschneider/tf-minio

iac infrastructure-as-code minio opentofu s3 s3-bucket s3-storage terraform

Last synced: about 2 months ago
JSON representation

Managing my minio instances

Awesome Lists containing this project

README

        

# tf-minio

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

This repository implements Infrastructure as Code (IaC) using [OpenTofu](https://opentofu.org/) to configure Minio instances 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 Minio 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-minio.git
cd tf-minio
```

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