Instantly create, update and remove Minio Buckets with Serverless Components.
$ npm install -g serverless
Just create a serverless.yml
file
$ touch serverless.yml
Then create a .env
file
$ touch .env
Update the .env
file with information about your Minio setup
# .env
MINIO_ENDPOINT=minio.example.com
MINIO_SSL=false
MINIO_PORT=9000
MINIO_ACCESS_KEY=xxxx
MINIO_SECRET_KEY=xxxx
# serverless.yml
org: acme
app: todo
name: todo-minio-bucket
component: minio-bucket@dev
inputs:
name: my-bucket
$ serverless
Checkout the Serverless Components repo for more information.