Public Cloud - Terraform - Unknown Identity
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.
Frage

Terraform - Unknown Identity

Von
Community Deleted user
Erstellungsdatum 2021-10-12 20:30:12 (edited on 2024-09-04 14:23:28) in Public Cloud

Hi,
I am trying to use Terraform but I keep getting errors.
so now my config is:
```
# main.tf
data "ovh_me_identity_user" "user" {
user = "aa123456-ovh" # The one I use to log in OVH
}

provider "ovh" {
endpoint = "ovh-eu"
application_key = "****"
application_secret = "****"
consumer_key = "****"
}
```

When trying to output `data.ovh_me_identity_user.user`, I am getting

```
Error: Unable to find identity user aa123456-ovh:
│ "Error 404: \"Unknown user\""
```

I do not understand why the API would react like that.
Could you help me please?
I am using

```
Terraform v1.0.8
on linux_amd64
+ provider registry.terraform.io/ovh/ovh v0.15.0
```


Antworten sind derzeit für diese Frage deaktiviert.