Terraform Provider for Dell PowerFlex

The Terraform Provider for Dell PowerFlex allows Data Center and IT administrators to use Hashicorp Terraform to automate and orchestrate the provisioning and management of Dell PowerFlex storage systems.

The Terraform Provider can be used to manage SDCs, volumes, snapshots, snapshot-policies, storage pools, SDSs, protection domains and mapping SDC to volumes/snapshots.

Table of contents

License

The Terraform Provide for PowerFlex is released and licensed under the MPL-2.0 license. See LICENSE for the full terms.

Supported Platforms

PowerFlex/VxFlex OS Version OS Terraform Golang
3.6 Ubuntu22.04
RHEL8.x
RHEL7.x
1.3.2
1.2.9
1.19.x

List of DataSources in Terraform Provider for Dell PowerFlex

  • SDC
  • Storage pool
  • Volume
  • SDS
  • Protection Domain
  • Snapshot Policy

List of Resources in Terraform Provider for Dell PowerFlex

  • SDC Volume Mapping (Added in v1.0.1)
  • SDC
  • Storage pool
  • Volume
  • SDS
  • Snapshot

Installation of Terraform Provider for Dell PowerFlex

Install from Terraform Registry

The provider will be fetched from the Terraform registry and installed by Terraform automatically. Create a file called main.tf in your workspace with the following contents

terraform {
  required_providers {
    powerflex = {
      version = "1.0.1"
      source  = "registry.terraform.io/dell/powerflex"
    }
  }
}

Then, in that workspace, run

terraform init

Installation from source code

Dependencies: Go 1.19.x, make, Terraform 1.2.9/1.3.2

Run

git clone https://github.com/dell/terraform-provider-powerflex.git
cd terraform-provider-powerflex
make install

Then follow installation from Terraform registry

SSL Certificate Verification

For SSL verifcation on RHEL, these steps can be performed:

  • Copy the CA certificate to the /etc/pki/ca-trust/source/anchors path of the host by any external means.
  • Import the SSL certificate to host by running
update-ca-trust extract

For SSL verification on Ubuntu, these steps can be performed:

  • Copy the CA certificate to the /etc/ssl/certs path of the host by any external means.
  • Import the SSL certificate to host by running:
 update-ca-certificates

Releasing, Maintenance and Deprecation

Terraform Provider for Dell Technnologies PowerFlex follows Semantic Versioning.

New version will be released regularly if significant changes (bug fixes or new features) are made in the provider.

Released code versions are located on tags with names of the form “vx.y.z” where x.y.z corresponds to the version number.