OpenSearch Terraform Provider - Creating role mapping via TF deletes already created role mappings

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch 2.10
Ubuntu 22.04
Terraform Provider Version 2.0

Describe the issue:

# Create a role mapping
resource "opensearch_roles_mapping" "mapper" {
  role_name   = "it-admin"
  backend_roles = [

First of all I’m a Newbie to TF.
I created the above role mapping via TF. After the role mapping was created all the other role mappings from the roles_mapping.yml file were deleted. How can that be?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.