rubrikcdm

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2019 License: MIT Imports: 4 Imported by: 0

README

Rubrik Provider

The Rubrik Provider transforms the Rubrik RESTful API functionality into easy to consume Terraform configuration whichs eliminates the need to understand how to consume raw Rubrik APIs extends upon one of Rubrik's main design centers - simplicity

Example Usage

provider "rubrik" {}

resource "rubrik_configure_timezone" "LA-Timezone" {
  timezone = "America/Los_Angeles"
}

Authentication

The Rubrik provider offers a flexible means of providing credentials for authentication. The following methods are supported, in this order, and explained below:

  • Static credentials
  • Environment variables
Static credentials

Static credentials can be provided by adding an node_ip, username and password in-line in the Rubrik provider block:

Usage:

provider "rubrik" {
  node_ip     = "10.255.41.201"
  username    = "admin"
  password    = "RubrikTFDemo2019"
}
Environment variables

You can provide your credentials via the rubrik_cdm_node_ip, rubrik_cdm_username and rubrik_cdm_password, environment variables, representing your Rubrik Node IP address, username and password, respectively.

provider "rubrik" {}
$ export rubrik_cdm_node_ip="10.255.41.201"
$ export rubrik_cdm_username="admin"
$ export rubrik_cdm_password="RubrikTFDemo2019"
$ terraform plan

Argument Reference

The following arguments are supported in the Rubrik provider block:

  • node_ip - (Optional) The Node IP address of the Rubrik cluster you wish to connect to. The value may also be sourced from the rubrik_cdm_password environment variable.

  • username - (Optional) The username of the Rubrik cluster you wish to connect to. The value may also be sourced from the rubrik_cdm_username environment variable.

  • password - (Optional) The password of the Rubrik cluster you wish to connect to. The value may also be sourced from the rubrik_cdm_password environment variable.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL