-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Description
Description
During module creation with Add-on "coredns" and a managed node group, there is the inevitable possibility of a race condition that I have hit a few times. Based on the random order of returned resources of spinning up the new the coredns add-on can potentially be attempted to be created before a manage node group which inherently creates a "wait for creation condition" which will fail out after 20 min. On a subsequent plan/apply given the ordering of resource creation has shifted, the node group will be created and then finally core-dns will destroy and recreate successfully.
Versions
- Terraform: latest
- Provider(s): latest
- Module: latest
Reproduction
Steps to reproduce the behavior:
N/A N/A N/ACode Snippet to Reproduce
Expected behavior
CoreDNS addon should probably have a depends-on block for the node profile.
Actual behavior
Terminal Output Screenshot(s)
Additional context
Happy to submit a PR, I just have not had an opportunity to get familiar with the actual module code at the moment. I will happily attempt to get familiar with the module to PR it this weekend. However, wanted to open an issue so if someone more familiar with it knows it could easily be a 5 minute fix.