powerflex Provider

The Terraform provider for Dell PowerFlex can be used to interact with a Dell PowerFlex array in order to manage the array resources.

Example Usage

provider.tf

terraform {
  required_providers {
    powerflex = {
      version = "0.0.1"
      source  = "registry.terraform.io/dell/powerflex"
    }
  }
}
provider "powerflex" {
  username = var.username
  password = var.password
  endpoint = var.endpoint
  insecure = true
  timeout  = 120
}

variables.tf

variable "username" {
  type        = string
  description = "Stores the username of PowerFlex host."
}

variable "password" {
  type        = string
  description = "Stores the password of PowerFlex host."
}

variable "endpoint" {
  type        = string
  description = "Stores the endpoint of PowerFlex host. eg: https://10.1.1.1:443, here 443 is port where API requests are getting accepted"
}

Schema

Required

  • endpoint (String) The PowerFlex Gateway server URL (inclusive of the port).
  • password (String, Sensitive) The password required for the authentication.
  • username (String) The username required for authentication.

Optional

  • insecure (Boolean) Specifies if the user wants to skip SSL verification.
  • timeout (Number) HTTPS timeout.