The commvault_amazon_hypervisor Resource

Updated

On this page

Use the commvault_amazon_hypervisor resource type to create or delete an Amazon hypervisor in the CommCell environment.

Syntax

resource "commvault_amazon_hypervisor" "<local name>"{

client_name = "<hypervisor name>"

use_iam_role = <Boolean values: true or false>

access_key = <access key>

secret_key = "<secret key>"

access_nodes = "<access nodes>"

}

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

Arguments

Name

Description

Required

More Information

client_name

The name of the Amazon hypervisor.

Yes

use_iam_role

Specify whether you want to use IAM role.

Valid values:

  • False

  • True

Yes

  • If you set the use_iam_role argument to true, the access_key and secret_key arguments are optional.

  • If you set this value to true, in the AWS Console, verify that the access node has an IAM role.

access_key

The access key ID for your Amazon account.

Yes

secret_key

The secret key ID for your Amazon account.

Yes

access_nodes

The clients that have the VSA package installed and that act as proxy clients for Amazon hypervisors.

Yes

company_id

The ID of the company that you want the Amazon hypervisor to associate with.

No

Example

This resource block manages the Amazon01 hypervisor.

resource "commvault_amazon_hypervisor" "Amazonhyp1"{

client_name = "Amazon01"

use_iam_role = false

access_key = "DER77KRPFRKC8FDUN"

secret_key = "1vBCdzKoV3RS2G/25RX9cMigT4dIO17RUCDJV4NJ"

access_nodes = "AWS_proxy"

}