Terraform Provider for Dell Technologies PowerStore

Contributor Covenant License

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

The Terraform Provider can be used to manage volumes, snapshot rules, protection policies and storage containers.

Table of contents

Support

For any Terraform Provider for Dell PowerStore issues, questions or feedback, please follow our support process

License

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

Prerequisites

Terraform Provider PowerStore Version OS Terraform Golang
v1.1.0 3.0/3.2 Ubuntu 22.04
RHEL 8.x
RHEL 7.x
1.3.x
1.2.x
1.19.x

List of Resources in Terraform Provider for Dell PowerStore

  • Volume
  • Snapshot Rule
  • Protection Policy
  • Storage Container
  • Host
  • Host Group
  • Volume Group
  • Volume Snapshot
  • Volume Group Snapshot
  • Storage Container

List of DataSources in Terraform Provider for Dell PowerStore

  • Volume
  • Volume Group
  • Host
  • Host Group
  • Volume Snapshot
  • Volume Group Snapshot
  • Snapshot Rule
  • Protection Policy

Installation of Terraform Provider for Dell PowerStore

Installation 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 {
    powerstore = {
      version = "1.1.0"
      source = "registry.terraform.io/dell/powerstore"
    }
  }
}

Then, in that workspace, run

terraform init

If you are upgrading from a previous version, set the version of powerstore in the required providers block to “1.1.0” as shown above. Then, in your workspace, run

terraform init -upgrade

For more details on how to upgrade provider versions, please check out https://developer.hashicorp.com/terraform/tutorials/configuration-language/provider-versioning

Installation from source code

Dependencies: Go 1.19.x, make, Terraform 1.2.x/1.3.x

Run

git clone https://github.com/dell/terraform-provider-powerstore.git
cd terraform-provider-powerstore
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 PowerStore 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.

Documentation

For more detailed information, please refer to Dell Terraform Providers Documentation.