» avi_poolgroupdeploymentpolicy

The PoolGroupDeploymentPolicy resource allows the creation and management of Avi PoolGroupDeploymentPolicy

» Example Usage

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

» Argument Reference

The following arguments are supported:

  • name - (Required) The name of the pool group deployment policy.
  • auto_disable_old_prod_pools - (Optional) It will automatically disable old production pools once there is a new production candidate.
  • description - (Optional) User defined description for the object.
  • evaluation_duration - (Optional) Duration of evaluation period for automatic deployment.
  • rules - (Optional) List of list.
  • scheme - (Optional) Deployment scheme.
  • target_test_traffic_ratio - (Optional) Target traffic ratio before pool is made production.
  • tenant_ref - (Optional) It is a reference to an object of type tenant.
  • test_traffic_ratio_rampup - (Optional) Ratio of the traffic that is sent to the pool under test.
  • webhook_ref - (Optional) Webhook configured with url that avi controller will pass back information about pool group, old and new pool information and current deployment rule results.

» 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 - Uuid of the pool group deployment policy.