Comments (4)
Just created #545 if you have a second to test @sdejong629. I was able to reproduce in the unit tests and this change resolved the issue
from terraform-provider-minio.
Thanks for reporting this issue! It looks like this is because #526 isn't returning null for expiration
. I should be able to put in a PR to fix that
from terraform-provider-minio.
Just created #545 if you have a second to test @sdejong629. I was able to reproduce in the unit tests and this change resolved the issue
If you have a lead on how I can use your repo instead of the registered one...
And isn't it dangerous to set an expiration date if none is set? Should it just be empty? It isn't supposed to expire items at all.
from terraform-provider-minio.
Thanks for the detailed report @sdejong629!
If you have a lead on how I can use your repo instead of the registered one...
To test it directly from @pjsier's branch, you can clone his repo and checkout his branch fix/543-lifecycle-days
, then, having Task installed, you just need to run task install
and the provider should be ready to be used (terraform gives preference to locally installed providers).
isn't it dangerous to set an expiration date if none is set? Should it just be empty? It isn't supposed to expire items at all.
🤔 As I see @pjsier's change is not for setting a date if it's empty. Instead, it's to format the Date field of Expiration in the format "YYYY-MM-DD" only if Expiration is not null. Because if we apply fortmat in a null value, it sets the expiration date to 0001-01-01
, causing this bug.
from terraform-provider-minio.
Related Issues (20)
- Recreate deleted (missing) resources instead of [FATAL]ing
- Add support for server-side replication HOT 1
- `minio_iam_service_account` resource keeps dropping policy. HOT 2
- Add NonCurrentVersionExpiration to Lifecycle Management Rules
- Module publishing - Terraform Registry HOT 7
- Add a description for every attribute in the documentation
- Can't install versions after 1.18.0 HOT 16
- Missing checksum list for 1.19.0 HOT 2
- terraform providfer does not work if api minio is running via proxy on port 443 HOT 1
- [Feature Request] Consider replacing Adminio-UI with the native MinIO Console
- [Feature_request] Set Expire delete marker on noncurrent_version_expiration_days life cycle management rule
- minio_iam_service_account resource is updated on every run in 2.0.0 HOT 13
- Returned bucket_domain_name is wrong HOT 1
- [BUG] Root object was present, but now absent.
- [FATAL] unable to read policy: The canned policy does not exist
- Allow STS credentials instead of username/password HOT 1
- [FATAL] putting object failed (): one of source / content / content_base64 is not set
- [ilm] tier transitioning
- How create a folder into a specified bucket
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-minio.