FEATURES PRICING ABOUT DOCS LOGIN

aws_appautoscaling_target

Provides an Application AutoScaling ScalableTarget resource.

Example Usage

resource "aws_appautoscaling_target" "tgt" {
  service_namespace = "ecs"
  resource_id = "service/clusterName/serviceName"
  scalable_dimension = "ecs:service:DesiredCount"
  role_arn = "${var.ecs_iam_role}"
  min_capacity = 1
  max_capacity = 4
}

Argument Reference

The following arguments are supported:

Attribute Reference


See the source of this document at Terraform.io

REQUEST A DEMO