No description
  • Go 78.4%
  • Makefile 10.6%
  • Shell 6.5%
  • HTML 4.5%
Find a file
OpenTofu Core Development Team b92eaceaf8 Apply GitHub workflow changes
2025-11-18 12:30:28 +02:00
.github Apply GitHub workflow changes 2025-11-18 12:30:28 +02:00
rubrik Reverted go sdk path to rubrikcdm ❄ 2020-04-30 14:23:18 +02:00
scripts Clean up scripts directory 2020-01-27 16:48:15 -05:00
vendor updatesing vendored dependancies for release 2020-07-06 08:56:09 -07:00
website Move file for formatting 2020-07-07 13:37:04 -07:00
.gitignore add date_time field to EC2 Export 2019-04-09 19:31:49 -05:00
CHANGELOG.md Cleanup after v0.2.0 release 2020-07-06 23:05:00 +00:00
GNUmakefile Update makefile 2019-11-26 17:52:51 -05:00
go.mod update import path 2020-06-24 09:16:53 -07:00
go.sum updatesing vendored dependancies for release 2020-07-06 08:56:09 -07:00
LICENSE Updated license to Mozilla Public License Version 2.0 2020-02-03 10:16:22 +01:00
main.go update import path 2020-06-24 09:16:53 -07:00
README.md Updated with Terraform banner 🌎 2020-04-10 22:31:54 +02:00

Terraform Rubrik Provider

Maintainers

This provider plugin is maintained by the Terraform team at Rubrik.

Requirements

  • Terraform 0.12.x
  • Go 1.11 (to build the provider plugin)

Building The Provider

Clone repository to: $GOPATH/src/github.com/rubrikinc/terraform-provider-rubrik/rubrik

$ git clone git@github.com:rubrikinc/terraform-provider-rubrik $GOPATH/src/github.com/rubrikinc/terraform-provider-rubrik

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/rubrikinc/terraform-provider-rubrik
$ make build

Using the provider

Here are some resources to get you started! If you find any challenges from this project are not properly documented or are unclear, please raise an issue and let us know! This is a fun, safe environment - don't worry if you're a GitHub newbie! ❤️

🔍 Example

provider "rubrik" {}

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

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.11+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.

$ make bin
...
$ $GOPATH/bin/terraform-provider-rubrik
...

In order to test the provider, you can simply run make test.

$ make test

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

$ make testacc