Open ppacher opened 3 years ago
I can't reproduce..
What is the value of ttl? The Hetzner DNS Api only supports the following ttl as far as I remember. Do you use a TTL of this list?
I'm using a TTL of 60s. Please note that this does not happen on the first run but rather when running terraform again. It fails to detect the existing "wildcard" DNS resource and tries to create a new one. Upon that, Hetzern returns '422 Unprocessable Entity: taken *'
I recently wanted to add a new node to my Hetzner cluster. I didn't execute terraform for a while no so I'm still searching if something changed at the Hetzner DNS API. Though, I though I post the issue here.
The first thing that raise my attention was that
terraform plan
did not correctly refresh the state from the wildcard DNS entry. It was marked "needs creation" while the record is actually there and works (confirmed via Hetzner DNS console). When applying the changes terraform ends with the following error while creating the wildcard entry (TF_LOG=debug
was set)The resource block looks like this:
That block hasn't change for a while now so I'm 100% sure it worked before. Please tell me if I can help further debugging this!
Thanks for this awesome provider!