Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.7 KB

File metadata and controls

60 lines (43 loc) · 1.7 KB
page_title subcategory description
citrix_gcp_hypervisor Resource - citrix
CVAD
Manages a GCP hypervisor.

citrix_gcp_hypervisor (Resource)

Manages a GCP hypervisor.

Example Usage

# GCP Hypervisor
resource "citrix_gcp_hypervisor" "example-gcp-hypervisor" {
    name               = "example-gcp-hypervisor"
    zone               = "<Zone Id>"
    service_account_id = "<GCP service account Id>"
    service_account_credentials = "<GCP service account private key>"
}

Schema

Required

  • name (String) Name of the hypervisor.
  • service_account_credentials (String, Sensitive) The JSON-encoded service account credentials used to access the Google Cloud APIs.
  • service_account_id (String) The service account ID used to access the Google Cloud APIs.
  • zone (String) Id of the zone the hypervisor is associated with.

Optional

  • metadata (Attributes List) Metadata for the Hypervisor. (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:

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