Azure VMware (AVS) Cluster

This page shows how to write Terraform and Azure Resource Manager for VMware (AVS) Cluster and write them securely.

azurerm_vmware_cluster (Terraform)

The Cluster in VMware (AVS) can be configured in Terraform with the resource name azurerm_vmware_cluster. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub

module.tf#L14
resource "azurerm_vmware_cluster" "vwc" {
  name               = azurecaf_name.vwc.result
  vmware_cloud_id    = var.vmware_cloud_id
  cluster_node_count = var.settings.cluster_node_count
  sku_name           = var.settings.sku_name

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

The following arguments are supported:

  • name - (Required) The name which should be used for this Vmware Cluster. Changing this forces a new Vmware Cluster to be created.

  • vmware_cloud_id - (Required) The ID of the Vmware Private Cloud in which to create this Vmware Cluster. Changing this forces a new Vmware Cluster to be created.

  • cluster_node_count - (Required) The count of the Vmware Cluster nodes.

  • sku_name - (Required) The cluster sku to use. Possible values are av20, av36, and av36t. Changing this forces a new Vmware Cluster to be created.

In addition to the Arguments listed above - the following Attributes are exported:

  • id - The ID of the Vmware Cluster.

  • cluster_number - A number that identifies this Vmware Cluster in its Vmware Private Cloud.

  • hosts - A list of host of the Vmware Cluster.

Explanation in Terraform Registry

Manages a Vmware Cluster.

Microsoft.AVS/privateClouds/clusters (Azure Resource Manager)

The privateClouds/clusters in Microsoft.AVS can be configured in Azure Resource Manager with the resource name Microsoft.AVS/privateClouds/clusters. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

  • apiVersion required - string
  • name required - string

    Name of the cluster in the private cloud

  • properties required
      • clusterSize optional - integer

        The cluster size

      • hosts optional - array

        The hosts

      • provisioningState optional - string

        The state of the cluster provisioning.

  • sku required
      • name required - string

        The name of the SKU.

  • type required - string

Frequently asked questions

What is Azure VMware (AVS) Cluster?

Azure VMware (AVS) Cluster is a resource for VMware (AVS) of Microsoft Azure. Settings can be wrote in Terraform.

Where can I find the example code for the Azure VMware (AVS) Cluster?

For Terraform, the aztfmod/terraform-azurerm-caf source code example is useful. See the Terraform Example section for further details.