Skip to content

Instantly share code, notes, and snippets.

@phivid
Created January 7, 2020 13:41
Show Gist options
  • Save phivid/faa6eddd60cca8d7689f1bda927def7f to your computer and use it in GitHub Desktop.
Save phivid/faa6eddd60cca8d7689f1bda927def7f to your computer and use it in GitHub Desktop.
resource "aws_iam_policy" "eks_update_kubeconfig"
// Permission nécessaire pour utiliser la commande `aws eks update-kubeconfig`.
resource "aws_iam_role" "eks_deployer"
// Rôle qui sera bindé sur un `Role` K8S scopé au namespace de l'application.
resource "aws_iam_role_policy_attachment" "eks_readonly"
// Attachement de la police sur le rôle.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment