diff --git a/website/source/docs/providers/aws/r/appautoscaling_policy.html.markdown b/website/source/docs/providers/aws/r/appautoscaling_policy.html.markdown index f4cea7f59..9342b878f 100644 --- a/website/source/docs/providers/aws/r/appautoscaling_policy.html.markdown +++ b/website/source/docs/providers/aws/r/appautoscaling_policy.html.markdown @@ -14,18 +14,18 @@ Provides an Application AutoScaling Policy resource. ``` resource "aws_appautoscaling_policy" "down" { name = "scale-down" - service_namespace = "ecs" - resource_id = "service/ecsclustername/servicename" - scalable_dimension = "ecs:service:DesiredCount" + service_namespace = "ecs" + resource_id = "service/ecsclustername/servicename" + scalable_dimension = "ecs:service:DesiredCount" - adjustment_type = "ChangeInCapacity" - cooldown = 60 - metric_aggregation_type = "Maximum" + adjustment_type = "ChangeInCapacity" + cooldown = 60 + metric_aggregation_type = "Maximum" - step_adjustment { + step_adjustment { metric_interval_lower_bound = 0 - scaling_adjustment = -1 - } + scaling_adjustment = -1 + } depends_on = ["aws_appautoscaling_target.target"] } ``` @@ -71,4 +71,4 @@ must be greater than the lower bound. * `arn` - The ARN assigned by AWS to the scaling policy. * `name` - The scaling policy's name. * `adjustment_type` - The scaling policy's adjustment type. -* `policy_type` - The scaling policy's type. \ No newline at end of file +* `policy_type` - The scaling policy's type.