-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Windows platform will always fail, because "windows" != "linux" #1410
Comments
…es not find an AMI, because the local will never resolve a windows AMI from the linux platform.
Is there anything else that is needed to apply this to other minor versions? Some upstream modules that reference this one have minor version pinning (e.g. |
@barryib is a v16 patch release possible? (otherwise we'll need to get other module vendors to bump their version - e.g. https://github.com/spotinst/terraform-spotinst-ocean-eks/blob/master/eks.tf#L3 |
v17.0.3 is released |
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
If a worker group platform is set to "windows", the eks apply will never pass. This is due how the AMI is resolved in local.
Versions
provider registry.terraform.io/hashicorp/aws v3.42.0
terraform-aws-eks, v0.16.1 onwards, 0.17
Reproduction
Run this module with
var.workers_group_defaults.platform
set to"windows"
. Plan will succeed. Apply will fail:Workspaces: fails with or without.
Expected behavior
terraform apply passes, creating a windows worker node group.
Additional context
#1371 introduced the bug, affecting 0.16.1 and 0.17 and beyond.
The fix will be committed shortly.
The text was updated successfully, but these errors were encountered: