» avi_cluster

The Cluster resource allows the creation and management of Avi Cluster

» Example Usage

resource "avi_cluster" "foo" {
    name = "terraform-example-foo"
    tenant_ref = "/api/tenant/?name=admin"
}

» Argument Reference

The following arguments are supported:

  • name - (Required) Name of the object.
  • nodes - (Optional) List of list.
  • rejoin_nodes_automatically - (Optional) Re-join cluster nodes automatically in the event one of the node is reset to factory.
  • tenant_ref - (Optional) It is a reference to an object of type tenant.
  • virtual_ip - (Optional) A virtual ip address.

» Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 40 mins) Used when creating the AMI
  • update - (Defaults to 40 mins) Used when updating the AMI
  • delete - (Defaults to 90 mins) Used when deregistering the AMI

» Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • uuid - Unique object identifier of the object.