kanidm (Fix): manager = opencloud-admin - the runner token cannot even resolve idm_admins #177

Merged
ginjiruu merged 1 commit from opencloud-groups-idm-managed into master 2026-11-20 22:43:12 +00:00
Owner

Follows #176 (merged): apply failed with Error Resolving entry_managed_by resource not found. Verified live with the runner token: GET /v1/group/idm_admins, idm_admins@spn, idm_group_admins ALL return null - the idm_group_admins scoped token cannot read IDM-internal groups. opencloud-admin is an ordinary group (resolves, members: ginjiruu) and the semantically right owner of opencloud-groups membership. ignore_changes=[members] kept from the #176 fix (its plan had shown the members wipe risk).

Follows #176 (merged): apply failed with Error Resolving entry_managed_by resource not found. Verified live with the runner token: GET /v1/group/idm_admins, idm_admins@spn, idm_group_admins ALL return null - the idm_group_admins scoped token cannot read IDM-internal groups. opencloud-admin is an ordinary group (resolves, members: ginjiruu) and the semantically right owner of opencloud-groups membership. ignore_changes=[members] kept from the #176 fix (its plan had shown the members wipe risk).
Collaborator

tf-controller plan output:


OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place (current -> planned)

OpenTofu will perform the following actions:

  # kanidm_group.opencloud_groups will be updated in-place
  ~ resource "kanidm_group" "opencloud_groups" {
      ~ entry_managed_by = "018fa4a0-0d5b-4068-98e0-534e0f00e735" -> "opencloud-admin"
        id               = "c893a6cf-23b8-4569-942a-986bc20ad81d"
        name             = "opencloud-groups"
        # (2 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

To apply this plan, please merge this pull request.

tf-controller plan output: ```hcl OpenTofu used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place (current -> planned) OpenTofu will perform the following actions: # kanidm_group.opencloud_groups will be updated in-place ~ resource "kanidm_group" "opencloud_groups" { ~ entry_managed_by = "018fa4a0-0d5b-4068-98e0-534e0f00e735" -> "opencloud-admin" id = "c893a6cf-23b8-4569-942a-986bc20ad81d" name = "opencloud-groups" # (2 unchanged attributes hidden) } Plan: 0 to add, 1 to change, 0 to destroy. ``` To apply this plan, please **merge** this pull request.
ginjiruu merged commit afdbda8c39 into master 2026-11-20 22:43:12 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lab/iac!177
No description provided.