-
Hello everyone! I've been trying to create an account_project with little success. I've created the tokens from the scaleway console. And when I try to deploy I get the following error. Error: scaleway-sdk-go: insufficient permissions: read account_project; write account_project
│
│ with scaleway_account_project.reciperium,
│ on main.tf line 1, in resource "scaleway_account_project" "reciperium":
│ 1: resource "scaleway_account_project" "reciperium" {
│
╵ I've added my user in the console.scaleway.com as Administrator, any idea what might the issue be? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hello, are you sure the used api key belong to the user with permissions ? You can also verify that the key you use is linked to your user or application. A common issue is api keys that existed before IAM are linked to an application instead of your user, this application may miss permissions. |
Beta Was this translation helpful? Give feedback.
-
When you look at the request log, you can see an anonymized secret key
It should be enough to check if it is the correct one you are using. |
Beta Was this translation helpful? Give feedback.
-
I was able to fix it, I was using the wrong In order to retrieve the proper organization id, go to https://console.scaleway.com/organization/settings The organization happens to be your profile, and you get a different Id if you go to your user and see the ID |
Beta Was this translation helpful? Give feedback.
I was able to fix it, I was using the wrong
organization_id
.In order to retrieve the proper organization id, go to https://console.scaleway.com/organization/settings
The organization happens to be your profile, and you get a different Id if you go to your user and see the ID