Hello! I’d like to import the role bindings via terraform using the confluent_role_binding resource. It says I need role binding (e.g. rb-f3a90de
). But how do we get that?
I tried confluent iam rbac role-binding list --principal User:sa-xxxxxx --inclusive
but it only returned this
Principal | Email | Role | Environment | Cloud Cluster | Cluster Type | Logical Cluster | Resource Type | Name | Pattern Type
-----------------+-------+-------------------+-------------+---------------+-----------------+-----------------+---------------+------+---------------
User:sa-xxxxxx | | CloudClusterAdmin | env-xxxxx | lkc-xxxxx | | | | |
User:sa-xxxxxx | | ResourceOwner | env-xxxxx | | Schema Registry | lsrc-xxxxx | Subject | * | LITERAL