-
Notifications
You must be signed in to change notification settings - Fork 30
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 time_static attribute with time zone capabilities #33
Comments
Hi @OmerLaza 👋 Thank you for raising this feature request! On the surface this may seem like a relatively straightforward problem, however timezones and associated data changes are actually a quite complex topic. For example, daylight savings times are regularly updated, there have been recent format changes to the underlying tzdata files used in some implementations, and often accessing this information is best through the platform specific implement of the execution environment rather than a purely programming language specific implementation. There is a lot of machinery behind the scenes managed by today's Operating System and programming language maintainers to keep the information up-to-date and valid. All this is not to say that we would not consider anything in this space, it is just a complex area that might require additional design, implementation, and binary release work (e.g. enabling CGO on all platforms). As a workaround for now, you may find pairing the |
Hi again, @OmerLaza 👋 Since we haven't heard back from you regarding the above, I'm going to close this out for now. Using the |
^^ As I cannot reopen this request, I've logged #163 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
Hey, I've stated using basic TF and I've found the
time_static
very useful for timestamping resources creation time. We want to be able to timestamp our resources in timestamp that reflects our time zone (and not UTC).So we want a time zone attribute for
time_static
similar to.rfc3339
but with option to add time zone to affect the output.New or Affected Resource(s)
time_static
time zone sensitive attribute.Potential Terraform Configuration
References
https://en.wikipedia.org/wiki/List_of_time_zone_abbreviations - list of time zone abbreviations
The text was updated successfully, but these errors were encountered: