Open lechnerc77 opened 7 months ago
Thanks for the feature request. We evaluate it and update the issue accordingly.
This issue must be analyzed also under the aspect of import of role collection assignments which is currently not possible. This is a gap that at least should be also discussed in the context of this request
[SAP Internal Reference] https://jira.tools.sap/browse/XSUAA-3475 - follow-up in Q3/2024
Update: NO ETA available until now.
What area do you want to see improved?
terraform provider
Is your feature request related to a problem? Please describe.
As of today you can evaluate which role collection are assigned to a user via the data source
btp_subaccount_user
. This works if the role collections are directly assigned to a user.Another usual way is to assign role collections via groups which is supported by the corresponding resource
https://registry.terraform.io/providers/SAP/btp/latest/docs/resources/subaccount_role_collection_assignment
. However in this case there is no way to find out the connection between role collections and groups neither via CLI nor via Terraform.Describe the solution you would like
The Terraform provider should support the functionality to retrieve the information which role collection is assigned to which group.
Describe alternatives you have considered
One possible way might be accessing the information via APIs, but this jeopardizes a consistent Terraform setup.
Additional context
This is certainly a cross-topic spanning from the security/XSUAA team to the BTP CLI and to the Terraform provider that needs to be aligned