This document version is no longer actively maintained.
The site that you are currently viewing is an archived snapshot.
For up-to-date documentation, see the latest version.
powerscale_aclsettings (Data Source)
This datasource is used to query the ACL Settings from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block. You can use ACL Settings to manage file and directory permissions, referred to as access rights.
Example Usage
/*
Copyright (c) 2023-2024 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.
*/
# This Terraform DataSource is used to query the details of the ACL settings from PowerScale array.
# Returns the PowerScale ACL settings on PowerScale array
data "powerscale_aclsettings" "all" {
}
# Output value of above block by executing 'terraform output' command
# You can use the the fetched information by the variable data.powerscale_aclsettings.all
output "powerscale_aclsettings_data_all" {
value = data.powerscale_aclsettings.all
}
Schema
Read-Only
access
(String) Access checks (chmod, chown). Options: unix, windowscalcmode
(String) Displayed mode bits. Options: approx, 777calcmode_group
(String) Approximate group mode bits when ACL exists. Options: group_aces, group_onlycalcmode_owner
(String) Approximate owner mode bits when ACL exists. Options: owner_aces, owner_onlycalcmode_traverse
(String) Require traverse rights in order to traverse directories with existing ACLs. Options: require, ignorechmod
(String) chmod on files with existing ACLs. Options: remove, replace, replace_users_and_groups, merge_with_ugo_priority, merge, deny, ignorechmod_007
(String) chmod (007) on files with existing ACLs. Options: default, removechmod_inheritable
(String) ACLs created on directories by UNIX chmod. Options: yes, nochown
(String) chown/chgrp on files with existing ACLs. Options: owner_group_and_acl, owner_group_only, ignorecreate_over_smb
(String) ACL creation over SMB. Options: allow, disallowdos_attr
(String) Read only DOS attribute. Options: deny_smb, deny_smb_and_nfsgroup_owner_inheritance
(String) Group owner inheritance. Options: native, parent, creatorrwx
(String) Treatment of ‘rwx’ permissions. Options: retain, full_controlsynthetic_denies
(String) Synthetic ‘deny’ ACEs. Options: none, removeutimes
(String) Access check (utimes). Options: only_owner, owner_and_write