Skip to content

Commit 98355be

Browse files
authored
Merge branch 'main' into SECURITY_metadata_options
2 parents 3e3de21 + ae503f0 commit 98355be

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22

33
BACKWARDS INCOMPATIBILITIES / NOTES:
44

5+
56
* IMDSv2 support is now on by default, this can be changed via the new
67
`cluster_instance_metadata_options` variable which mirrors
78
aws_launch_template's [metadata_options](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/launch_template#metadata-options)
9+
* The `cluster_desired_capacity` is now ignored after the first `apply` of the
10+
module since, in the case of autoscaling or manual scaling, the value may have
11+
changed between `apply`s.
812

913
## 6.0.0 (February 22th 2023)
1014

asg.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,8 @@ resource "aws_autoscaling_group" "cluster" {
107107

108108
lifecycle {
109109
create_before_destroy = true
110+
ignore_changes = [
111+
desired_capacity
112+
]
110113
}
111114
}

0 commit comments

Comments
 (0)