Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.43 KB

aws_hypervisor.md

File metadata and controls

52 lines (38 loc) · 1.43 KB
page_title subcategory description
citrix_aws_hypervisor Resource - citrix
CVAD
Manages an AWS EC2 hypervisor.

citrix_aws_hypervisor (Resource)

Manages an AWS EC2 hypervisor.

Example Usage

# AWS Hypervisor
resource "citrix_aws_hypervisor" "example-aws-hypervisor" {
    name              = "example-aws-hypervisor"
    zone              = "<Zone Id>"
    api_key           = var.aws_account_access_key # AWS account Access Key from variable
    secret_key        = var.aws_account_secret_key # AWS account Secret Key from variable
    region            = "us-east-2"
}

Schema

Required

  • api_key (String) The API key used to authenticate with the AWS APIs.
  • name (String) Name of the hypervisor.
  • region (String) AWS region to connect to.
  • secret_key (String, Sensitive) The secret key used to authenticate with the AWS APIs.
  • zone (String) Id of the zone the hypervisor is associated with.

Optional

  • scopes (Set of String) The IDs of the scopes for the hypervisor to be a part of.

Read-Only

  • id (String) GUID identifier of the hypervisor.

Import

Import is supported using the following syntax:

# AWS Hypervisor can be imported by specifying the GUID
terraform import citrix_aws_hypervisor.example-aws-hypervisor b2339edf-7b00-436e-9c3a-54c987c3526e