Clean up whitespace in `aws_appautoscaling_policy` docs (#8228)
The whitespace in the documentation for `aws_appautoscaling_policy` was very confusing. I believe it was due to a mix up of tabs and spaces. It's much prettier and easier to read now.
This commit is contained in:
parent
84bbbfbe18
commit
ddb62d026e
|
@ -14,18 +14,18 @@ Provides an Application AutoScaling Policy resource.
|
||||||
```
|
```
|
||||||
resource "aws_appautoscaling_policy" "down" {
|
resource "aws_appautoscaling_policy" "down" {
|
||||||
name = "scale-down"
|
name = "scale-down"
|
||||||
service_namespace = "ecs"
|
service_namespace = "ecs"
|
||||||
resource_id = "service/ecsclustername/servicename"
|
resource_id = "service/ecsclustername/servicename"
|
||||||
scalable_dimension = "ecs:service:DesiredCount"
|
scalable_dimension = "ecs:service:DesiredCount"
|
||||||
|
|
||||||
adjustment_type = "ChangeInCapacity"
|
adjustment_type = "ChangeInCapacity"
|
||||||
cooldown = 60
|
cooldown = 60
|
||||||
metric_aggregation_type = "Maximum"
|
metric_aggregation_type = "Maximum"
|
||||||
|
|
||||||
step_adjustment {
|
step_adjustment {
|
||||||
metric_interval_lower_bound = 0
|
metric_interval_lower_bound = 0
|
||||||
scaling_adjustment = -1
|
scaling_adjustment = -1
|
||||||
}
|
}
|
||||||
depends_on = ["aws_appautoscaling_target.target"]
|
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.
|
* `arn` - The ARN assigned by AWS to the scaling policy.
|
||||||
* `name` - The scaling policy's name.
|
* `name` - The scaling policy's name.
|
||||||
* `adjustment_type` - The scaling policy's adjustment type.
|
* `adjustment_type` - The scaling policy's adjustment type.
|
||||||
* `policy_type` - The scaling policy's type.
|
* `policy_type` - The scaling policy's type.
|
||||||
|
|
Loading…
Reference in New Issue