objectscale_iam_groups (Data Source)
This data source retrieves key attributes of Dell ObjectScale IAM 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.
*/
data "objectscale_iam_groups" "all" {
namespace = "ns1"
}
output "objectscale_iam_groups_all" {
value = data.objectscale_iam_groups.all
}
Schema
Required
namespace(String) Name of the namespace.
Optional
group_name(String) Name of the IAM Group.user_name(String) Name of the IAM User to filter groups for.
Read-Only
groups(Attributes List) List of IAM Groups (see below for nested schema)id(String) Identifier
Nested Schema for groups
Read-Only:
arn(String) ARN of the IAM Group.create_date(String) ISO 8601 creation timestamp of the IAM Group.group_id(String) Unique identifier for the group.group_name(String) Name of the IAM Group.path(String) Path associated with the IAM Group.users(List of String) List of users belonging to this IAM Group.