» avi_autoscalelaunchconfig

The AutoScaleLaunchConfig resource allows the creation and management of Avi AutoScaleLaunchConfig

» Example Usage

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

» Argument Reference

The following arguments are supported:

  • name - (Required) Name of the object.
  • description - (Optional) User defined description for the object.
  • image_id - (Optional) Unique id of the amazon machine image (ami) or openstack vm id.
  • mesos - (Optional) Dict settings for autoscalelaunchconfig.
  • openstack - (Optional) Dict settings for autoscalelaunchconfig.
  • tenant_ref - (Optional) It is a reference to an object of type tenant.
  • use_external_asg - (Optional) If set to true, serverautoscalepolicy will use the autoscaling group (external_autoscaling_groups) from pool to perform scale up and scale down.

» 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.