Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 2.03 KB

aws_hypervisor.md

File metadata and controls

64 lines (46 loc) · 2.03 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

  • metadata (Attributes List) Metadata for the Hypervisor.

~> Please Note Metadata once set cannot be removed. Use this field to add new metadata or update the value for an existing metadata. Subsequently, removing any metadata from config will have no effect on the existing metadata of the resource. (see below for nested schema)

  • 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.
  • tenants (Set of String) A set of identifiers of tenants to associate with the hypervisor connection.

Nested Schema for metadata

Required:

  • name (String) Metadata name.
  • value (String) Metadata value.

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