Open lathspell opened 3 years ago
Indeed it would make debugging much easier. My example:
module.minio.minio_iam_user.my_user: Creating...
Error: Failed to parse server response: invalid character '<' looking for beginning of value.
on modules/minio/configuration.tf line 6, in resource "minio_iam_user" "my_user":
6: resource "minio_iam_user" "my_user" {
It'll helpful to debug, I have no problem using this provider to create an user on a minio docker, but with minio deployed on k8s and a ingress-nginx, I have this error message
Error: Failed to parse server response: invalid character '<' looking for beginning of value.
so my focus is on ingress-nginx.
I have similar problem with kubernetes #112
Test it without nginx-ingress, and it works fine, so problem really is in ingress controller
Agreed, I'll close this issue.
In my case the problem was in TLS provider configuration. This provider sets minio_ssl
to false
by default, so it was the reason of weird message outputs and not working apply.
Needs to set minio_ssl
to true
for tls/ssl
provider "minio" {
...
minio_ssl = true
}
In my case the problem was in TLS provider configuration. This provider sets
minio_ssl
tofalse
by default, so it was the reason of weird message outputs and not working apply. Needs to setminio_ssl
totrue
for tls/sslprovider "minio" { ... minio_ssl = true }
It works with this option
minio_ssl = true
It works for me with this option minio_ssl = true
(Minio on k3s cluster behind nginx ingress)
I tried creating a used and just got:
This is not very helpful, it would be better if the complete response or at least the first e.g. 80 chars would be printed. Maybe I used the wrong URL or my authentication was wrong (doesn't matter here, the issue is not abount my config mistake just about the error messsage.
I'm using aminueza/minio-1.2.0 with terraform 0.14.7