Skip to content

Latest commit

 

History

History
63 lines (46 loc) · 1.78 KB

File metadata and controls

63 lines (46 loc) · 1.78 KB
page_title subcategory description
citrix_zone Resource - citrix
Manages a zone. For cloud DDC, Zones and Cloud Connectors are managed only by Citrix Cloud. Ensure you have a resource location manually created and connectors deployed in it. You may then apply or import the zone using the zone Id.

citrix_zone (Resource)

Manages a zone. For cloud DDC, Zones and Cloud Connectors are managed only by Citrix Cloud. Ensure you have a resource location manually created and connectors deployed in it. You may then apply or import the zone using the zone Id.

Example Usage

resource "citrix_zone" "example-zone" {
    name                = "example-zone"
    description         = "zone example"
    metadata            = [
        {
            name    = "key1"
            value   = "value1"
        }
    ]
}

Schema

Required

  • name (String) Name of the zone. For Cloud DDC, ensure this matches the name of the existing zone that needs to be used.

Optional

  • description (String) Description of the zone. For Cloud DDC, ensure this matches the description of the existing zone that needs to be used.
  • metadata (Attributes List) Metadata of the zone. Cannot be modified in DaaS cloud. (see below for nested schema)

Read-Only

  • id (String) GUID identifier of the zone.

Nested Schema for metadata

Required:

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

Import

Import is supported using the following syntax:

# Zone can be imported by specifying the GUID
terraform import citrix_zone.example-zone 06e5981e-dbaf-48db-b134-245fca2dc672