-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] possibility to attach user to role (not backend role) #191
Comments
The above can be called using opensearch_roles_mapping resource terraform-provider-opensearch/provider/resource_opensearch_roles_mapping.go Lines 186 to 205 in 3699cfb
terraform-provider-opensearch/provider/resource_opensearch_roles_mapping.go Lines 36 to 41 in 3699cfb
|
@rblcoder thank You for reply. Could You provide example in terraform how to attach role (not backend role) in opensearch_roles_mapping ? In my opinion it is impossible. |
Here is an example terraform code https://github.com/idealo/terraform-aws-opensearch/blob/main/role_mapping.tf Also documentation specifying the schema |
@rblcoder thank You for reply. But its backend_role not a role... I asked about possibility to attach role not backend role.
|
PUT _plugins/_security/api/rolesmapping/custom_role |
You can see a test added here that the same works using the provider as well https://github.com/opensearch-project/terraform-provider-opensearch/pull/193/files |
works as expected in version 2.3.0 . |
Is your feature request related to a problem?
I tried to map custom role to user, but there is no possibility with opensearch terraform provider.
What solution would you like?
Possibility to attach (custom) role to user. For example (as it possible):
What alternatives have you considered?
In Dev Tools
The text was updated successfully, but these errors were encountered: