Skip to content

Commit 0377432

Browse files
authored
Merge pull request #23772 from bschaatsbergen/update-warm-pool-status-docs
Add "Hibernated" as possible `pool_state` state under autoscaling_group docs.
2 parents 8658924 + f502b69 commit 0377432

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.changelog/23772.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
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/)
3+
```

website/docs/r/autoscaling_group.html.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ resource "aws_autoscaling_group" "example" {
325325
min_size = 1
326326
327327
warm_pool {
328-
pool_state = "Stopped"
328+
pool_state = "Hibernated"
329329
min_size = 1
330330
max_group_prepared_capacity = 10
331331
}
@@ -493,7 +493,7 @@ This configuration block supports the following:
493493

494494
This configuration block supports the following:
495495

496-
* `pool_state` - (Optional) Sets the instance state to transition to after the lifecycle hooks finish. Valid values are: Stopped (default) or Running.
496+
* `pool_state` - (Optional) Sets the instance state to transition to after the lifecycle hooks finish. Valid values are: Stopped (default), Running or Hibernated.
497497
* `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.
498498
* `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.
499499

0 commit comments

Comments
 (0)