Tuto de base Terraform Public Cloud
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Tuto de base Terraform Public Cloud

by
AlexandreS58
Created on 2024-02-02 11:18:05 (edited on 2024-09-04 13:27:49) in Public Cloud OVHcloud


Bonjour à toutes et à tous,

J'utilise **l'offre** : Public Cloud
Je souhaite prendre en main les bases via OpenStack/Terraform.
J'essaie de faire le tuto suivant très basique :
https://help.ovhcloud.com/csm/fr-public-cloud-compute-terraform?id=kb_article_view&sysparm_article=KB0050792

Malheureusement, j'ai l'erreur suivante systématiquement :
**openstack_compute_keypair_v2.test_keypair: Creating...**
**╷**
**│ Error: Error creating OpenStack compute client: No suitable endpoint could be found in the service catalog.**
**│ **
**│ with openstack_compute_keypair_v2.test_keypair,**
**│ on simple_instance.tf line 2, in resource "openstack_compute_keypair_v2" "test_keypair":**
**│ 2: resource "openstack_compute_keypair_v2" "test_keypair" {**
**│**

Pour info, j'ai bien créé l'utilisateur et les tokens que j'ai ajouté au code.
Le code est copy/past tel quel, sauf la flavor name que j'ai adapté aux offres actuelles :
**flavor_name = "d2-2"**

Est-ce que ça parle à quelqu'un ?
Merci d'avance.