powerstore Provider
Provider for PowerStore
Example Usage
provider.tf
terraform {
required_providers {
powerstore = {
version = "1.1.0"
source = "registry.terraform.io/dell/powerstore"
}
}
}
provider "powerstore" {
username = var.username
password = var.password
endpoint = var.endpoint
insecure = true
timeout = var.timeout
}
variables.tf
variable "username" {
type = string
description = "Stores the username of PowerStore host."
}
variable "password" {
type = string
description = "Stores the password of PowerStore host."
}
variable "timeout" {
type = string
description = "Stores the timeout of PowerStore host."
}
variable "endpoint" {
type = string
description = "Stores the endpoint of PowerStore host. eg: https://10.1.1.1/api/rest"
}
Schema
Required
endpoint
(String) IP or FQDN of the PowerStore hostpassword
(String, Sensitive) The password of the PowerStore host.username
(String) The username of the PowerStore host.
Optional
insecure
(Boolean) Boolean variable to specify whether to validate SSL certificate or not.timeout
(Number) The default timeout value for the Powerstore host.