I am creating a module for configuring Azure Application Gateway with Terraform. In the azurerm_application_gateway resource, in the sku block, I see Name, tier, and capacity, but I don't see how to make this setting for what I see in the portal, "Capacity type" Autoscale, minimum scale units. Anyone have an terraform example of how to do this?
resource "azurerm_application_gateway" "network" {
name = "${var.application_gateway_name}"
resource_group_name = "${var.resource_group_name[0]}"
location = "${var.location}"
sku {
name = "${var.sku_name}"
tier = "${var.sku_tier}"
capacity = "${var.sku_capacity}"
}