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

Bug: Timezone not found in Terraform run #55

Open
baskraai opened this issue May 6, 2022 · 3 comments
Open

Bug: Timezone not found in Terraform run #55

baskraai opened this issue May 6, 2022 · 3 comments

Comments

@baskraai
Copy link

baskraai commented May 6, 2022

Describe what is wrong

When trying to use the transip_domain data resource since yesterday evening I get the error:
Error: failed to lookup domain "familiekraai.net": unknown time zone Europe/Amsterdam

Environment

  • Terraform Cloud remote backend
  • Terraform version 1.1.8 & 1.1.9
  • Provider version 0.1.14 & 0.1.15

Workaround

Manually specify the domain_id for the record resources

@JoooostB
Copy link
Contributor

JoooostB commented May 6, 2022

This seems to be related to transip/gotransip#31, which implies that Terraform Cloud does not have proper tzdata. Could you try running it locally?

An easy workaround for the provider may be including the tzdata on build with -tags timetzdata until TransIP patches gotransip or Terraform Cloud starts using proper tzdata.

Or build it yourself by modifying line 52 in the Makefile and running make build:

...
	mkdir -p ${@D}; GOOS=$* go build -tags timetzdata -o $@
...

@aequitas
Copy link
Owner

aequitas commented May 6, 2022

I've added the flag to the release script and building now, binaries should be up in a few minutes: 1a72a5c

@aequitas
Copy link
Owner

aequitas commented May 6, 2022

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

No branches or pull requests

3 participants