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:
| Yes |
|
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"
}