We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8495ce commit df29596Copy full SHA for df29596
modules/instance/main.tf
@@ -80,6 +80,14 @@ resource "aws_autoscaling_group" "asg" {
80
version = aws_launch_template.launch_template.latest_version
81
}
82
83
+ instance_refresh {
84
+ strategy = "Rolling"
85
+ preferences {
86
+ # Whenever the launch template changes, allow replacing instances all at once
87
+ min_healthy_percentage = 0
88
+ }
89
90
+
91
# aws_autoscaling_group doesn't have a "tags" attribute, but instead a "tag" block
92
dynamic "tag" {
93
for_each = merge({ "Name" = "DatadogAgentlessScannerASG" }, var.tags, local.dd_tags)
0 commit comments