-
Notifications
You must be signed in to change notification settings - Fork 60
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
[BUG]opensearch_role_mapping resource - fails #158
Comments
[Triage] |
@kcorelight Does this help you with the issue on using and_backend_roles |
and_backend_roles requires that all the backend roles be specified in this list and only users with all of these backend roles will be mapped to the role. For example if and_backend_roles has ["IT", "Finance", "HR"]
The following terraform code maps user johndoe to custom_role
|
What is the bug?
module.opensearch_logs_saml[0].opensearch_roles_mapping.security_manager_mapping will be created
]
}
╷
│ Error: elastic: Error 400 (Bad Request)
│
│ with module.opensearch_logs_saml[0].opensearch_roles_mapping.security_manager_mapping,
│ on ../../../modules/common/opensearch_saml/roles_mapping.tf line 19, in resource "opensearch_roles_mapping" "security_manager_mapping":
│ 19: resource "opensearch_roles_mapping" "security_manager_mapping" {
│
╵
[root@9457465f450e NorthAmerica]#
How can one reproduce the bug?
[root@9457465f450e NorthAmerica]# terraform apply --auto-approve -target=module.opensearch_logs_saml[0].opensearch_roles_mapping.security_manager_mapping
What is the expected behavior?
Successfully apply the resource
What is your host/environment?
N/A
Do you have any screenshots?
Above screenshot
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: