Skip to content

Commit

Permalink
Merge pull request #23772 from bschaatsbergen/update-warm-pool-status…
Browse files Browse the repository at this point in the history
…-docs

Add "Hibernated" as possible `pool_state` state under autoscaling_group docs.
  • Loading branch information
ewbankkit authored Mar 21, 2022
2 parents 8658924 + f502b69 commit 0377432
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/23772.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/aws_autoscaling_group: Update documentation to include [Warm Pool hibernation](https://aws.amazon.com/about-aws/whats-new/2022/02/amazon-ec2-auto-scaling-warm-pools-supports-hibernating-returning-instances-warm-pools-scale-in/)
```
4 changes: 2 additions & 2 deletions website/docs/r/autoscaling_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ resource "aws_autoscaling_group" "example" {
min_size = 1
warm_pool {
pool_state = "Stopped"
pool_state = "Hibernated"
min_size = 1
max_group_prepared_capacity = 10
}
Expand Down Expand Up @@ -493,7 +493,7 @@ This configuration block supports the following:

This configuration block supports the following:

* `pool_state` - (Optional) Sets the instance state to transition to after the lifecycle hooks finish. Valid values are: Stopped (default) or Running.
* `pool_state` - (Optional) Sets the instance state to transition to after the lifecycle hooks finish. Valid values are: Stopped (default), Running or Hibernated.
* `min_size` - (Optional) Specifies the minimum number of instances to maintain in the warm pool. This helps you to ensure that there is always a certain number of warmed instances available to handle traffic spikes. Defaults to 0 if not specified.
* `max_group_prepared_capacity` - (Optional) Specifies the total maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group.

Expand Down

0 comments on commit 0377432

Please sign in to comment.