powermax Provider
The Terraform provider for Dell PowerMax can be used to interact with a Dell PowerMax array in order to manage the array resources.
Example Usage
provider.tf
/*
Copyright (c) 2022-2023 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
variable "username" {
type = string
}
variable "password" {
type = string
}
variable "endpoint" {
type = string
}
variable "serial_number" {
type = string
}
variable "pmax_version" {
type = string
}
provider "powermax" {
username = var.username
password = var.password
endpoint = var.endpoint
serial_number = var.serial_number
pmax_version = var.pmax_version
insecure = true
}
Schema
Required
endpoint
(String) IP or FQDN of the PowerMax hostpassword
(String, Sensitive) The password of the PowerMax host.pmax_version
(String) The version of the PowerMax host.serial_number
(String) The serial_number of the PowerMax host.username
(String) The username of the PowerMax host.
Optional
insecure
(Boolean) Boolean variable to specify whether to validate SSL certificate or not.