Skip to content

Commit c8ea157

Browse files
committed
fix arguments sorting for modules/service/main.tf
1 parent 0568f7f commit c8ea157

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/service/main.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,9 +1610,7 @@ resource "aws_appautoscaling_policy" "this" {
16101610
for_each = each.value.policy_type == "PredictiveScaling" && each.value.predictive_scaling_policy_configuration != null ? [each.value.predictive_scaling_policy_configuration] : []
16111611

16121612
content {
1613-
mode = predictive_scaling_policy_configuration.value.mode
16141613
max_capacity_buffer = predictive_scaling_policy_configuration.value.max_capacity_buffer
1615-
scheduling_buffer_time = predictive_scaling_policy_configuration.value.scheduling_buffer_time
16161614
max_capacity_breach_behavior = predictive_scaling_policy_configuration.value.max_capacity_breach_behavior
16171615

16181616
dynamic "metric_specification" {
@@ -1784,6 +1782,9 @@ resource "aws_appautoscaling_policy" "this" {
17841782
target_value = metric_specification.value.target_value
17851783
}
17861784
}
1785+
1786+
mode = predictive_scaling_policy_configuration.value.mode
1787+
scheduling_buffer_time = predictive_scaling_policy_configuration.value.scheduling_buffer_time
17871788
}
17881789
}
17891790
}

0 commit comments

Comments
 (0)