commitdev / zero-aws-eks-stack

zero module for a basic AWS kubernetes stack on EKS
Apache License 2.0
16 stars 9 forks source link

Move k8s auth out of infra terraform #246

Closed bmonkman closed 2 years ago

bmonkman commented 2 years ago

Refactored user_access module and tf code to extract all k8s stuff from the infra terraform, including creating the aws-auth configmap. This should make things easier to reason about, as well as solving some weird edge cases with how you're not supposed to use the kubernetes provider in the same state where you created the cluster. https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs#stacking-with-managed-kubernetes-cluster-resources