You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks so much for this amazing project. I've learned so much from it and had a lot of fun implementing it.
I'm trying to use the new RBAC resources in terraform, but I cannot apply them to tokens as the authentik_token resource does not output a UUID or PKID.
(As a sidenote, it's not too clear why PKID is sometimes used, and other times UUID is used. Additionally, sometimes the resources want an ID, sometimes they want a UUID. It'd be nice if the reasoning for this were clearer.)
The problem is that last line. authentic_token only exposes the ID, which is not the object_id that the resource expects. So when I apply, it fails with a 400 error:
Error: HTTP Error '400 Bad Request' during request 'POST /api/v3/rbac/permissions/assigned_by_users/12/assign/': "{"non_field_errors":["“app_username-gw” is not a valid UUID."]}"
The text was updated successfully, but these errors were encountered:
First off, thanks so much for this amazing project. I've learned so much from it and had a lot of fun implementing it.
I'm trying to use the new RBAC resources in terraform, but I cannot apply them to tokens as the authentik_token resource does not output a UUID or PKID.
(As a sidenote, it's not too clear why PKID is sometimes used, and other times UUID is used. Additionally, sometimes the resources want an ID, sometimes they want a UUID. It'd be nice if the reasoning for this were clearer.)
Here's my current terraform:
With the new RBAC resources, the provisioner should be unnecessary, and the terraform would look something like this:
The problem is that last line.
authentic_token
only exposes the ID, which is not the object_id that the resource expects. So when I apply, it fails with a 400 error:The text was updated successfully, but these errors were encountered: