-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Managed node groups' launch template "$Latest" version producing an infinite always-changing plan #2087
Comments
Remove this line: launch_template_version = "$Latest" |
Removing this line will truly make this behaviour disappear, but isn't it a valid value to set? for example, changing launch template metadata will bump the launch template version and will be resulted with the desired change in Terraform plan. |
Understood. Thanks @bryantbiggs for the quick response. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
When using managed node group and setting the launch template version to "$Latest", Terraform will always show a difference in the plan and apply changes.
The issue was first introduced in older version - v17.1.0 and got fixed on v17.1.3 but the same issue happened again #1446 in newer versions (18.21.0).
Versions
Module version [Required]: 18.21.0
Terraform & providers version:
Terraform v1.2.0
on darwin_amd64
Reproduction Code [Required]
Produced using the module' example:
Steps to reproduce the behavior:
Expected behavior
No changes to the launch template version and the plan itself.
Actual behavior
Launch template version will constantly change from static number to $Latest even if no change was done to the plan.
Terminal Output Screenshot(s)
Additional context
The text was updated successfully, but these errors were encountered: