Terraform examples for deploying Pure Cloud Block Store and Fusion with all the associated pre-requisites
Note: This repo only supports deploying Cloud Block Store in Azure
- Deploy an Azure VM in the same subscription where you are planning to deploy CBS.
- SSH to the VM, then install Terraform.
- Authenticate to Azure.
- Clone this repo.
- Navigate to the desired example, and edit terraform.tfvars with your own parameters.
- Run
terraform init
, thenterraform apply
#___
The content of this repo is mostly Azure and CBS Terraform Provider Code. It is split into:
-
Example dir:
Depoly-*
where you would need to navigate and excite the terraform commands.Example Name Cloud Provider Modules Used Deploy-CBS-Prerequisites-Only Azure CBS-VNET,CBS-NAT-GW, VM-JUMPBOX Deploy-CBS-Greenfield Azure CBS-Array,CBS-VNET,CBS-NAT-GW, VM-JUMPBOX Deploy-Fusion-SEC Azure CBS-VNET, Fusion-SEC Deploy-Fusion-SEC-with-Two-CBS Azure CBS-Array,Fusion-SEC, CBS-VNET,CBS-NAT-GW, VM-JUMPBOX -
Modules files:
Module Name CBS-VNET Creates an Azure VNet with four Subnet CBS-NAT-GW Creates an Azure NAT GW and associate it with CBS System Subnet CBS-Key-Vault Creates an Azure KeyValut that is used by CBS Terraform Provider to perform management operations CBS-Identity Creates an Azure Custom Role and Assign it to a User Managed Identity VM-JUMPBOX Creates an Azure VM on the same CBS VNet, it can be used as a Jump Host or repurpose as an initiator CBS-Array Creates a Cloud Block Store Array Fusion-SEC Create a Fusion Storage Endpoint Collection Fusion-CBS-Array Creates a Cloud Block Store Array that can be associated to a Fusion SEC