Terraform Provider for Dell RedFish

Contributor Covenant License

The Terraform Provider for Dell Technologies (Dell) RedFish allows data center and IT administrators to use Hashicorp Terraform to automate and orchestrate the provisioning and management of PowerEdge servers.

The Terraform Provider can be used to manage server power cycles, IDRAC attributes, BIOS attributes, virtual media, storage volumes, user support, and firmware updates on the server.

Table of contents

Support

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

License

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

Prerequisites

Terraform Provider iDRAC9- Firmware Version OS Terraform Golang
v1.0.0 5.x
6.x
7.x
ubuntu22.04
rhel8.x
rhel9.x
1.3.x
1.4.x
1.19.x

List of DataSources in Terraform Provider for Dell RedFish

  • Bios
  • iDRAC Attributes
  • Firmware Inventory
  • Storage
  • System Boot
  • Virtual Media

List of Resources in Terraform Provider for Dell RedFish

  • Bios
  • iDRAC Attributes
  • Power
  • Simple Update
  • Storage Volume
  • User Account
  • Virtual Media

Installation of Terraform Provider for Dell RedFish

Installation from Terraform Registry

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

terraform {
  required_providers {
    redfish = {
      version = "1.0.0"
      source  = "registry.terraform.io/dell/redfish"
    }
  }
}

Then, in that workspace, run

terraform init

Installation from source code

  1. Clone this redfish repo
  2. In the root of this repo run
make install

Then follow installation from terraform registry

SSL Certificate Verification

For SSL verifcation on RHEL, below 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

Releasing, Maintenance and Deprecation

Terraform Provider for Dell Technnologies RedFish follows Semantic Versioning.

New versions will be release regularly if significant changes (bug fix or new feature) are made in the provider.

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

Documentation

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