User

Example

main.tf


terraform {
  required_providers {
    powerflex = {
      version = "1.2.0"
      source  = "registry.terraform.io/dell/powerflex"
    }
    null = {  
      source = "hashicorp/null"  
      version = "3.2.1"  
    }
  }
    
}

module "user_creation" {
  # Here the source points to the a local instance of the submodule in the modules folder, if you have and instance of the modules folder locally. 
  # source = "../../modules/user"

  # Here is an example of a source that pulls from the registry
  source  = "dell/modules/powerflex//modules/user"
  version = "x.x.x" // pull in the latest version like "1.2.0"

  newUserName = "user"
  userRole = "Monitor"
  userPassword = "Password1234"
  mdmUserName = "root"
  mdmPassword = "Password"
  mdmHost = "10.x.x.x"
  newPassword = "Password123"
}

Requirements

Name Version
null 3.2.1
powerflex 1.2.0

Providers

No providers.

Modules

Name Source Version
user_creation ../../modules/user n/a

Resources

No resources.

Inputs

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

Outputs

No outputs.