Closed grieshaber closed 1 year ago
Hello, I will take a look and came up with a response as soon as possible. Thanks for reporting us this bug
Hi, please remove the endpoint configuration and try again:
provider "ionoscloud" { endpoint = "https://api.ionos.com/cloudapi/v6/" }
This is the /v6
- Compute
endpoint, but you're also trying to reach the DBaaS mongo
endpoint, which is https://api.ionos.com/databases/mongodb/clusters
. You don't actually need to define an endpoint, the SDK will know how to route the request.
We will add a better error message for the scenario.
Thanks - i'll try immediately! :)
i can confirm @cristiGuranIonos, that i could create the db now successfully. Thanks for your help!
Description
When trying to create a MongoDB Cluster in our Subcontract, the terraform apply steps fails with the following message
Expected behavior
Expected a MongoDB Cluster to be created
Environment
Terraform version:
Provider version:
OS:
Configuration Files
Minimal reproducible tf-setup:
How to Reproduce
Run tf apply on the sources provided above.
Error and Debug Output
Additional Notes
Additionally, how do we effectively get the information about the subnet, that is assigned to us by the IONOS DHCP server?
The documentation states, that one should check the NICs assigned IP - but, in our case, there is no separete nic "upfront".
I managed to create a MongoDB with the exact same settings via the dcd to validate our properties.