eks-auth

aidanmelen/eks-auth/aws

Terraform Module HCL AWS ⏱ stale 1y 11mo

A Terraform module to manage cluster authentication (aws-auth) for an Elastic Kubernetes (EKS) cluster on AWS.

Install

module "eks-auth" {
source = "aidanmelen/eks-auth/aws"
version = "1.0.0"
}
⭐ Source on GitHub 📦 Registry page

README

![Pre-Commit](https://github.com/aidanmelen/terraform-aws-eks-auth/actions/workflows/pre-commit.yaml) ![cookiecutter-tf-module](https://github.com/aidanmelen/cookiecutter-tf-module) ![StandWithUkraine](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md) terraform-aws-eks-auth A Terraform module to manage cluster authentication for an Elastic Kubernetes (EKS) cluster on AWS. Assumptions - You are using the terraform-aws-eks module. Usage Grant access to the AWS EKS cluster by adding map_roles, map_user or map_accounts to the aws-auth configmap. ``hcl module "eks" { source = "terraform-aws-modules/eks/aws" # insert the 15 required variables here } module "eks_auth" { source = "aidanmelen/eks-auth/aws" eks = module.eks map_roles = [ { rolearn = "arn:aws:iam::66666666666:

Inputs (5)

NameTypeDescriptionDefault
eksanyThe outputs from the `terraform-aws-modules/terraform-aws-eks` module. required
wait_for_cluster_timeoutnumberA timeout (in seconds) to wait for cluster to be available.300
map_accountslist(string)Additional AWS account numbers to add to the aws-auth configmap.[]
map_roleslist(object({ rolearn = sAdditional IAM roles to add to the aws-auth configmap.[]
map_userslist(object({ userarn = sAdditional IAM users to add to the aws-auth configmap.[]

Outputs (4)

map_roles — The aws-auth map roles merged with the eks managed node group, self managed node groups and fargate
map_users — The aws-auth map users.
aws_auth_configmap_yaml — Formatted yaml output for aws-auth configmap.
map_accounts — The aws-auth map accounts.

Resources (2)

kubernetes_config_map_v1kubernetes_config_map_v1_data

Details

FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars38
Forks7
Total downloads217.7k
Inputs5
Outputs4
Resources2
Examples2
LicenseApache-2.0
Namespaceaidanmelen
Updated