Skip to content

Commit b8495ce

Browse files
committed
Have the ASG use the actual latest version from the launch template
1 parent 1266110 commit b8495ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/instance/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ resource "aws_autoscaling_group" "asg" {
7777

7878
launch_template {
7979
id = aws_launch_template.launch_template.id
80-
version = "$Latest"
80+
version = aws_launch_template.launch_template.latest_version
8181
}
8282

8383
# aws_autoscaling_group doesn't have a "tags" attribute, but instead a "tag" block

0 commit comments

Comments
 (0)