Skip to content
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

Embed time zone data into the provider's binary #478

Merged

Conversation

drastawi
Copy link
Contributor

@drastawi drastawi commented Apr 5, 2022

fixes #477

To address the issue of running the provider in environments without time zone data installed, we can build in time zone data. The binary will still check OS hosted time zone data as a fallback.

Ref:
https://pkg.go.dev/time/tzdata
https://wawand.co/blog/posts/timezonedata-go115-7c2a25e7-dbdd-4b6b-8092-51cc2d0241ce/

Copy link
Contributor

@stmcallister stmcallister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thank you!

@stmcallister stmcallister merged commit ab33756 into PagerDuty:master Apr 9, 2022
@hectorv
Copy link

hectorv commented Apr 11, 2022

Thanks! When can we expect this to be released?
https://github.com/PagerDuty/terraform-provider-pagerduty/blob/master/CHANGELOG.md

@Vrtak-CZ
Copy link

Is there any reason why this is still not released? It's been 3 weeks with the broken latest release.

@LanceSandino
Copy link

We just updated and use atlantis. this missing change broke our terraform and we had to install tzdata as a workaround on our docker image.

Easy fix... but we would ask this be merged ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

time_zone validation breaks provider when tz database is missing
5 participants