-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for minio_cacert_file
(as seen in the code, but not used)
#244
Comments
Update: from what I see in A patch like this will fix the issue in my opinion but will be a breaking change - S3SSLCACertFile: d.Get("minio_cert_file").(string),
+ S3SSLCACertFile: d.Get("minio_cacert_file").(string), |
Oh, I might have misimplemented something there... Unsure why I hadn't found that in my testing.. it may have collided with something at work.. |
Hello again @BuJo, I did not find cool documentation on how to test a provider locally to confirm that what I did worked, do you have any resource/advice on how to do it easily ? Thanks. |
@nuRRL Sorry for the delay. Well, you can install the terraform module locally and use that one. See terraform-provider-minio/Taskfile.yml Line 28 in f227019
I found that manually setting the version beforehand to something slightly higher each time before installing the module locally leads to a quite ok testing workflow. The "premium" test would of course be to add a self-signed certificate to the minio started via docker compose. But I shied away from that due to having not enough time to properly integrate that. I don't have a self-signed instance anymore at work, so I simply failed to test it properly. So you testing that manually is ok for me! |
Thanks :) No worries for the delay. I have one with a locally-signed certificate (with a CA) to test this, so I'll try it out :) |
Description
I'd like to be able to connect to my MinIO instance which is hosted with a self-signed CA, and I've seen that it was set up in the
provider.go
file, so arguments are accepted but not interpreted.Steps to Reproduce
minio_cacert_file
to yourprovider "minio" { ... }
blockterraform apply
Expected behavior:
Actual behavior:
Nothing, no error, and no effect.
Reproduces how often: 100%
Versions
Latest (1.5.2)
Additional information
If you want, I can look into this to make it work and document it.
The text was updated successfully, but these errors were encountered: