Closed vishwa-trulioo closed 2 years ago
Can you provide me an example how the scaling policy variable should look like? Is it like this,
cpu-util-simple-up = {
policy_type = "SimpleScaling"
adjustment_type = "ChangeInCapacity"
cooldown = 300
metric_aggregation_type = "Average"
step_adjustment = {
scale-up = {
scaling_adjustment = 1
}
}
@vishwa-trulioo I think it should look like this
cpu-util-simple-up = {
policy_type = "SimpleScaling"
adjustment_type = "ChangeInCapacity"
cooldown = 300
metric_aggregation_type = "Average"
step_adjustment = {
scaling_adjustment = 1
}
}
thanks for the example @ofinto , closing issue for now
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
I wanted to create an ASG with SimpleScaling policy. I used the example provided in module with only changing scaling polilcy to the following,
Versions
Reproduction
Steps to reproduce the behavior:
Code Snippet to Reproduce
Expected behavior
Create an Autoscaling policy of type "Simple scaling" without failing.
Actual behavior
Terminal Output Screenshot(s)
Additional context
Terraform is looking for
scaling_adjustment
to be set. I can also see that it's available in the Docs autoscaling_policy. But, this module does not offer setting it. If I'm doing it wring, please tell me how to define the scaling policy variable appropriately.