Closed sebastianarca closed 10 months ago
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
This issue was automatically closed because of stale in 10 days
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.
I used this module to create an autoscaling group following the recommendations of the examples, to assign it as Capacity Provider of an ECS cluster. Due to a misconception I wanted to create an autoscaling policy, when I created it, the default one was deleted.
When I wanted to revert the changes, it was not possible to use the "scaling_policies" configurations provided by the module because it only accepts a "metric_dimension", to solve the problem I had to create a resource "aws_autoscaling_policy" manually.
Note that when creating the autoscaling group the first time, no policy was set and one was assigned automatically. Subsequent modifications were made by importing the state of the existing policy.
I leave the module configuration below.
The configuration applied within the module that I applied to cause the deletion was the following: