Skip to content

Commit

Permalink
Fix bad value reference in scheduled scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaei committed Mar 26, 2024
1 parent 1594b96 commit de110c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ module "lambda" {
}
----

IMPORTANT: This module uses lambda aliases. Remember to use the qualifier whenever you explicitly use the function name!

== Integration Modules

This module has sub-modules to make integration with other AWS services easier.
Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ resource "aws_appautoscaling_scheduled_action" "this" {
schedule = each.value.schedule

scalable_target_action {
min_capacity = each.value.min_capacity
max_capacity = each.value.max_capacity
min_capacity = each.value.minimum_capacity
max_capacity = each.value.maximum_capacity
}
}

0 comments on commit de110c1

Please sign in to comment.