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

Does not work with Kimsufi-EU (or any other?) #147

Closed
joekinley opened this issue Jun 29, 2020 · 3 comments · Fixed by #148
Closed

Does not work with Kimsufi-EU (or any other?) #147

joekinley opened this issue Jun 29, 2020 · 3 comments · Fixed by #148

Comments

@joekinley
Copy link

Terraform Version

$ terraform -v
Terraform v0.12.28
+ provider.ovh v0.8.0

Affected Resource(s)

  • ovh_dedicated_server

Terraform Configuration Files

provider "ovh" {
  endpoint = "kimsufi-eu"
}

data "ovh_dedicated_server" "kimsufi" {
  service_name = "my-service-name"
}

Error Message

Error: kimsufi-eu must be one of map[string]string{"kimsufi-ca":"https://ca.api.kimsufi.com/1.0", "kimsufi-eu":"https://eu.api.kimsufi.com/1.0", "ovh-ca":"https://ca.api.ovh.com/1.0", "ovh-eu":"https://eu.api.ovh.com/1.0", "ovh-us":"https://api.us.ovhcloud.com/1.0", "runabove-ca":"https://api.runabove.com/1.0", "soyoustart-ca":"https://ca.api.soyoustart.com/1.0", "soyoustart-eu":"https://eu.api.soyoustart.com/1.0"} endpoints


  on main.tf line 1, in provider "ovh":
   1: provider "ovh" {

Expected Behavior

Should have worked with the specified endpoint configuration.

Actual Behavior

It complains that the endpoint configuration is not correct.

Steps to Reproduce

  1. terraform apply

Important Factoids

Account setup for ovh-cli is properly set up and works.

@RealOrangeOne
Copy link

RealOrangeOne commented Jul 14, 2020

I too get this issue, but without the CLI setup locally (it seems to be deprecated anyway).

Changing the "endpoint" to something else (ovh-eu) works fine, so it's definitely something kimsufi specific.

Dialing the version back to 0.5.0 fixes the issue, but then there's no ovh_dedicated_server resource, which defeats my use case.

@pleandre
Copy link

Hello,

I am having the same issue with the current v0.9.1 release.
@yanndegat could you release a new tag / version of the provider with this change ?
I think it should fix my issues.

Thank you,
Pierre

@pleandre pleandre mentioned this issue Nov 25, 2020
@yanndegat
Copy link
Collaborator

yanndegat commented Nov 25, 2020

hi pleandre

WIP

got a lot of stuff/fix/cleanup to do before releasing, should be ready in a few days

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 a pull request may close this issue.

4 participants