OVHcloud Community

Welcome to your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.

Terraform - Unknown Identity


#1

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