Manages user on a PowerFlex array. User resource can be used to create, update role and delete the user from the PowerFlex array. Once the user is created, it is mandatory to change the password when it's logged in for the first time. The intent of this user submodule is to change the password during it's first login.
username
(String) Stores the username of PowerFlex host.
password
(String) Stores the password of PowerFlex host.
endpoint
(String) Stores the endpoint of PowerFlex host.
newUserName
(String) The name of the user.
userPassword
(String) Password of the user.
userRole
(String) The role of the user. Accepted values are 'Administrator', 'Monitor', 'Configure', 'Security', 'FrontendConfig', 'BackendConfig'.
mdmUserName
(String) Primary MDM username required for connecting to the Primary MDM.
mdmPassword
(String) Primary MDM password required for connecting to the Primary MDM.
mdmHost
(String) Primary MDM host required for connecting to the Primary MDM.
newPassword
(String) New password required for the first login
new_user_id
(String) ID of the newly created user
new_username
(String) Name of the newly created user
new_user_role
(String) Role of the newly created user
User module can only be used with terraform provider powerflex >= v1.2.0
Please refer the User example here
After providing proper values to all the attributes, then in that workspace, run
terraform init
terraform apply
No modules.
Name |
Description |
Type |
Default |
Required |
endpoint |
Stores the endpoint of PowerFlex host. eg: https://10.1.1.1:443, here 443 is port where API requests are getting accepted |
string |
n/a |
yes |
mdmHost |
Primary MDM host required for connecting to the Primary MDM. |
string |
n/a |
yes |
mdmPassword |
Primary MDM password required for connecting to the Primary MDM. |
string |
n/a |
yes |
mdmUserName |
Primary MDM username required for connecting to the Primary MDM. |
string |
n/a |
yes |
newPassword |
New password required for the first login. |
string |
n/a |
yes |
newUserName |
Name of the new user. |
string |
n/a |
yes |
password |
Stores the password of PowerFlex host. |
string |
n/a |
yes |
userPassword |
Password of the new user. |
string |
n/a |
yes |
userRole |
Role of the new user. |
string |
n/a |
yes |
username |
Stores the username of PowerFlex host. |
string |
n/a |
yes |