The commvault_plan_to_vm Terraform Resource

Updated

On this page

Use the commvault_plan_to_vm resource type to create and delete a plan association with a VM in the CommCell environment.

Syntax

resource "commvault_plan_to_vm" "<local name>" 

{

plan = "<plan name>"

vm_name = "<VM name>"

}

Where local name is the name that is used by the Commvault Terraform module to refer the resource, and has no significance in the target platform.

Arguments

Name

Description

Required

plan

The name of the plan.

Yes

vm_name

The name of the VM.

Yes

new_plan

The name of the new plan that you want the VM to associate with.

No

Example

This resource block manages the Windows plan association with a VM.

resource "commvault_plan_to_vm" "<Assocation1>" 

{

plan = "Windows"

vm_name = "VMWindows"

}