Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site Token via terraform not working #288

Open
de1chk1nd opened this issue Dec 10, 2024 · 0 comments
Open

Site Token via terraform not working #288

de1chk1nd opened this issue Dec 10, 2024 · 0 comments

Comments

@de1chk1nd
Copy link

When creating a site-token via terraform, the response from terrafom is ok, but token does not appear in UI, nor via get requeast against API.

resource "volterra_token" "sitetoken" {
name = "sitetoken"
namespace = "system"
}

tf outputs:

output "site-token-name" {
value = volterra_token.sitetoken.name
}

output "site-token-uid" {
value = volterra_token.sitetoken.id
}

site-token-name = "fn-sitetoken"
site-token-uid = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

reply via API:

{
"code": 5,
"details": [
{
"code": "UNKNOWN",
"details": "GetResource: ves.io.schema.token.Object.default: Key /system/sitetoken does not exist",
"timestamp": "2024-12-10T10:16:03Z"
}
],
"message": "ves.io.schema.token.Object: sitetoken does not exist in namespace system"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant