Open moshiaiz opened 1 year ago
Same on 2.7.5 and azuread auth provider!
Still an issue on 2.7.9:
Error: Bad response statusCode [500]. Status [500 Internal Server Error]. Body: [baseType=error, code=ServerError, message=users.management.cattle.io "af95d834-ff31-43f1-b55e-31b1d4b6626b" not found] from [https://rancher.dev-k8s.sherwin.com/v3/projectroletemplatebindings]
Rancher Server Setup
Provider Information
Describe the bug
This might be related to Rancher issue #36539
When trying to bind an AD user to a cluster or a project using
rancher2_project_role_template_binding
orrancher2_cluster_role_template_binding
resources - it fails.Example of a failed block:
It generates error:
But, when trying to bind an AD group to a cluster or a project, using this block:
It works!
So somehow, you can bind AD groups and NOT AD users. PS: This happens only when rancher2 TF provider is authenticated to Rancher with local admin user. When using AD user, it works.