#377 is supposed to add support for importing Service Accounts - and it indeed works most of the time. Still it fails sometimes if timestamp delta between Secret and Service Account is larger than 1 second. It happens from time to time - at least in EKS.
The outcome is:
Failed to discover the default service account token: Unable to find any service accounts tokens which could have been the default one
I added more details in https://github.com/terraform-providers/terraform-provider-kubernetes/pull/377#issuecomment-540126765, but since that ticket is already Merged I’m not sure it’s gonna get any attention. So I’m asking here about this issue - am I missing something or I should raise a Bug ticket about this behaviour?