objectscale_iam_group_membership (Resource)
This resource manages IAM group membership in Dell ObjectScale, letting user declaratively add or remove IAM users from specified groups.
Example Usage
/*
Copyright (c) 2025 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
resource "objectscale_iam_group" "example" {
name = "example-group"
namespace = "ns1"
}
resource "objectscale_iam_group_membership" "example_membership" {
name = objectscale_iam_group.example.name
namespace = objectscale_iam_group.example.namespace
user = "test-user"
}
Schema
Required
name(String) Simple name identifying the group. Requirednamespace(String) Namespace under which group exists. Requireduser(String) User to be added to the group. Required
Unless specified otherwise, all fields of this resource can be updated.