MinIO S3 Server Infrastructure as code with Terraform.
Table of Contents
Real users will access buckets by the following pattern:
$BUCKET/$USER/*
Example: backup/tyriis/android, documents/jazzlyn/
Member of groups will access buckets by the following pattern:
$BUCKET/$GROUP/*
Example: documents/techtales/, documents/familly/
K8s services will access buckets by the following pattern:
$CLUSTER/$SERVICE/*
Example: k3s.home/node-red/data
ToDo: check if it would be better to create a bucket for each service
*various commands
- lower-case characters
Pattern: [a-z_-]+
Install dependencies with mise
mise installTerraform and pre-commit framework need to get initialized.
task terraform:init
task pre-commit:init| Name | Description |
|---|---|
VAULT_TOKEN |
vault token (not required for atlantis) |
VAULT_ADDR |
the vault address |
AWS_ENDPOINT_URL_S3 |
endpoint url for the s3 state backend |
AWS_REGION |
region for the s3 state backend |
AWS_ACCESS_KEY_ID |
username for the s3 state backend |
AWS_SECRET_ACCESS_KEY |
password for the s3 state backend |