-
Notifications
You must be signed in to change notification settings - Fork 2
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
Maybe a bug? #1
Maybe a bug? #1
Conversation
You are doing it all right! This is one of the most irritating bug in Terraform. We occasionally work around it in some modules with various levels of success. More info - hashicorp/terraform#4149 |
what terraform version you using? |
I am on Terraform |
|
Ahem, nevermind, I was in the wrong folder 🤦 The bug is still present and Terraform |
Workaround: managing the IAM Policy attachment and Security Group rule attachment from outside the module works, if and only if I set the Managed Node Groups to have Having anything higher than
EDIT: buuut, a manual step has to be done due to |
hey @Vlaaaaaaad , sorry just getting around to this. Yes, the issue is what @antonbabenko linked to and its rather frustrating. the way that I generally work around this is by pre-creating the resources referenced. if trying to deploy everything anew you can do: terraform apply --target aws_security_group.example_dynamic --target aws_iam_policy.workers_extra
terraform apply or through some other means of resource creation ordering as long as the security group and IAM policy are already created before attempting to create the EKS cluster |
Don't even think about the delay @bryantbiggs! Since the big re-factor is still WIP, I just wanted to share the result of my testing. |
yes, thank you for the report - its much appreciated. I think you are correct and its worth of noting down and making users aware. I am cautiously trying to avoid bloating with too much caveat documentation (hard not too when dealing with something as complex as Kubernetes and all the various ways of configuring it on EKS, etc.), but I think this is directly related to the module usage and a worthy detail to include |
Closing this as the bug was ACKed and there's not much we can do about it 🤷 |
I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Output: