aminueza / terraform-provider-minio

Terraform provider for managing MinIO S3 buckets and IAM Users.
https://registry.terraform.io/providers/aminueza/minio
GNU Affero General Public License v3.0
233 stars 69 forks source link

terraform providfer does not work if api minio is running via proxy on port 443 #536

Open sor88 opened 10 months ago

sor88 commented 10 months ago

terraform providfer does not work if api minio is running via proxy on port 443.

When I use the proxy address (traefik) as a minio_server I get an error:

│ Error: [FATAL] unable to create bucket (state-terraform-s3): The specified bucket does not exist. │ │ with minio_s3_bucket.state_terraform_s3, │ on buckets.tf line 1, in resource "minio_s3_bucket" "state_terraform_s3": │ 1: resource "minio_s3_bucket" "state_terraform_s3" { │ if you use a direct host specifying port 9000, then it works. I would like to use it in a cluster through a proxy. what to do?

BuJo commented 9 months ago

Mostly this happens, if the proxy does not behave as expected. #99 would help with that. Does it work when you use mc (the minio client) with exactly the same configuration with the exact same network topology?

Also have a look if you're using SSL or not.