Git Product home page Git Product logo

terraform-provider-minio's Introduction

minio-provider-terraform

Terraform Provider for MinIO

All Contributors GitHub go.mod Go version Gitpod Ready-to-Code GitHub Workflow Status GitHub release (latest by date including pre-releases)

Explore the docs ยป

Table of Contents

About this project

A Terraform provider to manage MinIO Cloud Storages.

Made with โ™ฅ using Go.

Requirements

  • Go v1.13 or higher;
  • Terraform v0.12.17 or higher;
  • Docker v19.03.4 or higher for testing minio;
  • Govendor for dependencies.

Installing the plugin

We release darwin and linux amd64 packages on the releases page. Once you have the plugin you should remove the _os_arch from the end of the file name and place it in ~/.terraform.d/plugins which is where terraform init will look for plugins. To install release binaries, download the version from your OS, then:

mv terraform-provider-minio_v1.0_darwin_amd64 ~/.terraform.d/plugins/terraform-provider-minio_v1.0

If you require a different architecture you will need to build the plugin from source, see below for more details:

make build

Valid provider filenames are terraform-provider-NAME_X.X.X or terraform-provider-NAME_vX.X.X

Examples

Use examples/main.tf to create some test config, such as:

provider "minio" {
  minio_server = "localhost:9000"
  minio_region = "us-east-1"
  minio_access_key = "minio"
  minio_secret_key = "minio123"
}

You may use variables to fill up configurations:

variable "minio_region" {
  description = "Default MINIO region"
  default     = "us-east-1"
}

variable "minio_server" {
  description = "Default MINIO host and port"
  default = "localhost:9000"
}

variable "minio_access_key" {
  description = "MINIO user"
  default = "minio"
}

variable "minio_secret_key" {
  description = "MINIO secret user"
  default = "minio123"
}

Testing

For testing locally, run the docker compose to spin up a minio server:

docker-compose up

Usage

See our Examples folder.

Developing inside a container

Inside .devcontainer folder is the configuration of a Docker Container with all tools needed to develop this project. It's meant to be used with VS Code, requiring only the installation of Remote - Containers extension. For usage instructions, refer to this tutorial.

Roadmap

See the open issues for a list of proposed features (and known issues). See CONTRIBUTION.md for more information.

License

Distributed under the Apache License. See LICENSE for more information.

Acknowledgements

Contributors

Thanks goes to these wonderful people (emoji key):


Victor Nogueira

๐Ÿ“– โš ๏ธ ๐Ÿ’ป

Amanda Souza

๐Ÿ’ป ๐Ÿ‘€ โš ๏ธ ๐Ÿ“† ๐Ÿš‡ ๐Ÿค” ๐Ÿ“–

nolte

๐Ÿ’ป ๐Ÿค” ๐Ÿ“–

This project follows the all-contributors specification. Contributions of any kind welcome!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.