Closed maboehm closed 3 years ago
@m2hofi94 , have you tried using the endpoint parameter inside the provider resource as described here?
Or why not leaving it out completely since it seems your are using the default endpoint?
No difference using the parameter inside, see https://github.com/ionos-cloud/terraform-provider-ionoscloud/issues/5#issuecomment-856759889
It's still a bug, regardless of whether or not I need to set it or not ;)
I have to set it at some point anyways thanks to annoying proxies on my way out, I just wanted to provide a simple example here
It's more seroius than it seems in the beginning: One customer is accessing IONOS via a partner which means that he has to use a rebranded URL to access the API. Thus it must be fixed asap.
@jbuchhammer - working on it, will have the fix released later today.
@m2hofi94 @jbuchhammer - I've just released v5.1.5
- let me know if it fixes the issue for you.
5.1.5 fixes this issue.
Unfortunately, I now get another crash that I had experienced before, see https://github.com/ionos-cloud/terraform-provider-ionoscloud/issues/5 @m2hofi94 Can you reproduce the other crash?
@larsen0815, I'll take a look
Description
I had set the environment variable
IONOS_API_URL=https://api.ionos.com/cloudapi/v5
in my terminal and the provider immediately panics duringterraform plan
Expected behavior
Expected it not to panic.
Environment
Terraform version:
Configuration Files
Run commands:
Error and Debug Output
Additional Notes
the fix is probably just changing the indices to
0
and1
respectively, unless I did something wrong.