- Website: https://www.terraform.io
This provider plugin is maintained by:
- Terraform 0.12+
# Configure HPE SimpliVity Provider
provider "simplivity" {
ovc_ip = "<ovc_ip>"
username = "<vcenter_username>"
password = "<vcenter_password>"
}
# Power off VM
resource "simplivity_vm" "example_vm" {
name = "vm_name"
power_state = "off"
}
# Create a clone of the VM
resource "simplivity_vm_clone" "example_vm_clone" {
name = "vm_name"
new_vm_name = "vm_clone_name"
}
# Create a backup of the VM
resource "simplivity_vm_backup" "example_vm_backup" {
name = "vm_backup_name"
vm_name = "vm_name"
omnistack_cluster_name = "cluster_name"
}
Clone repository to: $GOPATH/src/github.com/hashicorp/terraform-provider-simplivity
$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
$ git clone git@github.com:hashicorp/terraform-provider-simplivityEnter the provider directory and build the provider
$ cd $GOPATH/src/github.com/hashicorp/terraform-provider-simplivity
$ make buildIf you wish to work on the provider, you'll first need Go
installed on your machine. You can use goenv
to manage your Go version. 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.
$ make buildThis project is licensed under the Apache 2.0 license.
To view history and notes for this version, view the Changelog
