Closed george-zubrienko closed 1 week ago
Hi, @george-zubrienko. Would you be willing to open a PR with the fix for this issue? We're looking for more maintainers for this project at this moment, so any extra hand would be greatly appreciated! Thanks!
@felladrin my colleague just submitted a fix - and yes, we'll be happy to help maintain the provider as we are relying on it in our production systems!
Description
When creating an ILM tier with AWS S3 target, but using the custom endpoint - common case is
dualstack
endpoint:s3.dualstack.{region}.amazonaws.com
, theendpoint
setting is ignored and saved ass3.amazonaws.com
, causing drift.Steps to Reproduce
Expected behavior:
Remote tier is created with
s3.dualstack.us-east-1.amazonaws.com
endpointActual behavior:
Remote tier is created with
s3.amazonaws.com
endpointReproduces how often: Always
Versions
2.3.2
Additional Information
Seems to be related to this line
https://github.com/aminueza/terraform-provider-minio/blob/main/minio/resource_minio_ilm_tier.go#L192
, endpoint is passed for MinIO but not for S3 tier backend