terraform { required_providers { minio = { source = "aminueza/minio" version = "3.2.1" } } } provider minio { minio_server = "files.ghoscht.com" minio_ssl = true minio_user = local.envs["MINIO_USER"] minio_password = local.envs["MINIO_PASSWORD"] } resource "minio_s3_bucket" "assets" { bucket = "homepage-assets" acl = "public-read" } resource "minio_s3_bucket" "source" { bucket = "homepage-source" acl = "public-read" } output "minio_url" { value = "${minio_s3_bucket.assets.bucket_domain_name}" }