{"id":19508909,"url":"https://github.com/rhythmictech/terraform-aws-eks-cluster","last_synced_at":"2025-02-25T22:42:32.771Z","repository":{"id":45022328,"uuid":"245695497","full_name":"rhythmictech/terraform-aws-eks-cluster","owner":"rhythmictech","description":"Create and manage an EKS cluster","archived":false,"fork":false,"pushed_at":"2023-03-15T21:41:59.000Z","size":38,"stargazers_count":5,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-08T11:41:02.432Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/rhythmictech/eks-cluster/aws","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhythmictech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-07T19:49:18.000Z","updated_at":"2022-11-04T03:39:35.000Z","dependencies_parsed_at":"2025-01-08T11:43:17.656Z","dependency_job_id":null,"html_url":"https://github.com/rhythmictech/terraform-aws-eks-cluster","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-eks-cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-eks-cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-eks-cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-eks-cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhythmictech","download_url":"https://codeload.github.com/rhythmictech/terraform-aws-eks-cluster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240761095,"owners_count":19853254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T23:10:20.145Z","updated_at":"2025-02-25T22:42:32.709Z","avatar_url":"https://github.com/rhythmictech.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-eks-cluster\n\n[![tflint](https://github.com/rhythmictech/terraform-aws-eks-cluster/workflows/tflint/badge.svg?branch=master\u0026event=push)](https://github.com/rhythmictech/terraform-aws-eks-cluster/actions?query=workflow%3Atflint+event%3Apush+branch%3Amaster)\n[![tfsec](https://github.com/rhythmictech/terraform-aws-eks-cluster/workflows/tfsec/badge.svg?branch=master\u0026event=push)](https://github.com/rhythmictech/terraform-aws-eks-cluster/actions?query=workflow%3Atfsec+event%3Apush+branch%3Amaster)\n[![yamllint](https://github.com/rhythmictech/terraform-aws-eks-cluster/workflows/yamllint/badge.svg?branch=master\u0026event=push)](https://github.com/rhythmictech/terraform-aws-eks-cluster/actions?query=workflow%3Ayamllint+event%3Apush+branch%3Amaster)\n[![misspell](https://github.com/rhythmictech/terraform-aws-eks-cluster/workflows/misspell/badge.svg?branch=master\u0026event=push)](https://github.com/rhythmictech/terraform-aws-eks-cluster/actions?query=workflow%3Amisspell+event%3Apush+branch%3Amaster)\n[![pre-commit-check](https://github.com/rhythmictech/terraform-aws-eks-cluster/workflows/pre-commit-check/badge.svg?branch=master\u0026event=push)](https://github.com/rhythmictech/terraform-aws-eks-cluster/actions?query=workflow%3Apre-commit-check+event%3Apush+branch%3Amaster)\n\u003ca href=\"https://twitter.com/intent/follow?screen_name=RhythmicTech\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/RhythmicTech?style=social\u0026logo=twitter\" alt=\"follow on Twitter\"\u003e\u003c/a\u003e\n\nCreate and manage an EKS cluster. This module is primarily a wrapper around the official EKS module, which makes a few opinionated decisions to make life easier for most use cases.\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 0.12.19 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | n/a |\n\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_eks\"\u003e\u003c/a\u003e [eks](#module\\_eks) | git::https://github.com/terraform-aws-modules/terraform-aws-eks.git | v8.0.0 |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_cloudwatch_log_metric_filter.invalid_bearer_token](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_log_metric_filter) | resource |\n| [aws_cloudwatch_metric_alarm.invalid_bearer_token](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_metric_alarm) | resource |\n| [aws_security_group_rule.cluster_https_cluster_ingress](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_attach_worker_autoscaling_policy\"\u003e\u003c/a\u003e [attach\\_worker\\_autoscaling\\_policy](#input\\_attach\\_worker\\_autoscaling\\_policy) | Attach an autoscaling policy to the workers | `bool` | `false` | no |\n| \u003ca name=\"input_cloudwatch_notification_arn\"\u003e\u003c/a\u003e [cloudwatch\\_notification\\_arn](#input\\_cloudwatch\\_notification\\_arn) | ARN of SNS topic to send notifications to. Only used if `create_metric_filters` is true. | `string` | `null` | no |\n| \u003ca name=\"input_cluster_access_additional_sgs\"\u003e\u003c/a\u003e [cluster\\_access\\_additional\\_sgs](#input\\_cluster\\_access\\_additional\\_sgs) | List of security groups to provide access to the internal cluster endpoint | `list(string)` | `[]` | no |\n| \u003ca name=\"input_cluster_enabled_log_types\"\u003e\u003c/a\u003e [cluster\\_enabled\\_log\\_types](#input\\_cluster\\_enabled\\_log\\_types) | List of log types to send to CloudWatch | `list(string)` | \u003cpre\u003e[\u003cbr\u003e  \"api\",\u003cbr\u003e  \"audit\",\u003cbr\u003e  \"authenticator\",\u003cbr\u003e  \"controllerManager\",\u003cbr\u003e  \"scheduler\"\u003cbr\u003e]\u003c/pre\u003e | no |\n| \u003ca name=\"input_cluster_endpoint_private_access\"\u003e\u003c/a\u003e [cluster\\_endpoint\\_private\\_access](#input\\_cluster\\_endpoint\\_private\\_access) | Whether or not to create private endpoint for cluster access | `bool` | `true` | no |\n| \u003ca name=\"input_cluster_name\"\u003e\u003c/a\u003e [cluster\\_name](#input\\_cluster\\_name) | Name of EKS cluster | `string` | n/a | yes |\n| \u003ca name=\"input_cluster_version\"\u003e\u003c/a\u003e [cluster\\_version](#input\\_cluster\\_version) | Version of EKS cluster (be careful about changing this on a running cluster) | `string` | `\"1.15\"` | no |\n| \u003ca name=\"input_create_metric_filters\"\u003e\u003c/a\u003e [create\\_metric\\_filters](#input\\_create\\_metric\\_filters) | Creates metric filters to look for kubernetes logs that indicate a problem. Must set `cloudwatch_notification_arn = true` if used. | `bool` | `false` | no |\n| \u003ca name=\"input_disable_imds\"\u003e\u003c/a\u003e [disable\\_imds](#input\\_disable\\_imds) | Disable IMDS (EC2 metadata url) for pods, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html | `bool` | `false` | no |\n| \u003ca name=\"input_enable_irsa\"\u003e\u003c/a\u003e [enable\\_irsa](#input\\_enable\\_irsa) | Enable IRSA (EKS IAM security OIDC provider) | `bool` | `true` | no |\n| \u003ca name=\"input_invalid_bearer_token_threshold\"\u003e\u003c/a\u003e [invalid\\_bearer\\_token\\_threshold](#input\\_invalid\\_bearer\\_token\\_threshold) | Threshold for invalid bearer token alerting. This can indicate a misconfigured cluster but can fire false positives if set too low. | `number` | `10` | no |\n| \u003ca name=\"input_manage_worker_autoscaling_policy\"\u003e\u003c/a\u003e [manage\\_worker\\_autoscaling\\_policy](#input\\_manage\\_worker\\_autoscaling\\_policy) | Whether or not the worker autoscaling policy should be managed by this module | `bool` | `false` | no |\n| \u003ca name=\"input_map_roles\"\u003e\u003c/a\u003e [map\\_roles](#input\\_map\\_roles) | Additional IAM roles to add to the aws-auth configmap. | `list(any)` | `[]` | no |\n| \u003ca name=\"input_map_users\"\u003e\u003c/a\u003e [map\\_users](#input\\_map\\_users) | Additional IAM users to add to the aws-auth configmap. | `list(any)` | `[]` | no |\n| \u003ca name=\"input_subnets\"\u003e\u003c/a\u003e [subnets](#input\\_subnets) | A list of subnets to place the EKS cluster and workers within. | `list(string)` | n/a | yes |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Tags to apply to supported resources | `map(string)` | `{}` | no |\n| \u003ca name=\"input_vpc_id\"\u003e\u003c/a\u003e [vpc\\_id](#input\\_vpc\\_id) | VPC where the cluster and workers will be deployed. | `string` | n/a | yes |\n| \u003ca name=\"input_worker_groups\"\u003e\u003c/a\u003e [worker\\_groups](#input\\_worker\\_groups) | A list of maps defining worker group configurations to be defined using AWS Launch Configurations. See workers\\_group\\_defaults for valid keys. | `list(any)` | `[]` | no |\n| \u003ca name=\"input_worker_groups_launch_template\"\u003e\u003c/a\u003e [worker\\_groups\\_launch\\_template](#input\\_worker\\_groups\\_launch\\_template) | A list of maps defining worker group configurations to be defined using AWS Launch Template. See workers\\_group\\_defaults for valid keys. | `list` | `[]` | no |\n| \u003ca name=\"input_workers_additional_policies\"\u003e\u003c/a\u003e [workers\\_additional\\_policies](#input\\_workers\\_additional\\_policies) | Additional IAM policies to attach (use ARNs) | `list(string)` | `[]` | no |\n| \u003ca name=\"input_workers_group_defaults\"\u003e\u003c/a\u003e [workers\\_group\\_defaults](#input\\_workers\\_group\\_defaults) | Override default values for target groups. See `workers_group_defaults_defaults` in local.tf for valid keys. | `map` | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_cloudwatch_log_group_name\"\u003e\u003c/a\u003e [cloudwatch\\_log\\_group\\_name](#output\\_cloudwatch\\_log\\_group\\_name) | Cluodwatch log group name, if logging enabled |\n| \u003ca name=\"output_cluster_certificate_authority_data\"\u003e\u003c/a\u003e [cluster\\_certificate\\_authority\\_data](#output\\_cluster\\_certificate\\_authority\\_data) | Cluster CA Cert |\n| \u003ca name=\"output_cluster_endpoint\"\u003e\u003c/a\u003e [cluster\\_endpoint](#output\\_cluster\\_endpoint) | Kubernetes API Endpoint URL |\n| \u003ca name=\"output_cluster_iam_role_arn\"\u003e\u003c/a\u003e [cluster\\_iam\\_role\\_arn](#output\\_cluster\\_iam\\_role\\_arn) | IAM role name for the cluster |\n| \u003ca name=\"output_cluster_id\"\u003e\u003c/a\u003e [cluster\\_id](#output\\_cluster\\_id) | EKS Cluster ID |\n| \u003ca name=\"output_cluster_issuer_arn\"\u003e\u003c/a\u003e [cluster\\_issuer\\_arn](#output\\_cluster\\_issuer\\_arn) | OIDC Issuer ARN (returns empty string unless IRSA is enabled) |\n| \u003ca name=\"output_cluster_issuer_url\"\u003e\u003c/a\u003e [cluster\\_issuer\\_url](#output\\_cluster\\_issuer\\_url) | OIDC Issuer URL (returns empty string unless IRSA is enabled) |\n| \u003ca name=\"output_cluster_security_group_id\"\u003e\u003c/a\u003e [cluster\\_security\\_group\\_id](#output\\_cluster\\_security\\_group\\_id) | Security group protecting the cluster endpoint |\n| \u003ca name=\"output_cluster_version\"\u003e\u003c/a\u003e [cluster\\_version](#output\\_cluster\\_version) | Kubernetes cluster version |\n| \u003ca name=\"output_worker_iam_role_arn\"\u003e\u003c/a\u003e [worker\\_iam\\_role\\_arn](#output\\_worker\\_iam\\_role\\_arn) | IAM role attached to workers |\n| \u003ca name=\"output_worker_iam_role_name\"\u003e\u003c/a\u003e [worker\\_iam\\_role\\_name](#output\\_worker\\_iam\\_role\\_name) | IAM role attached to workers |\n| \u003ca name=\"output_worker_security_group_id\"\u003e\u003c/a\u003e [worker\\_security\\_group\\_id](#output\\_worker\\_security\\_group\\_id) | Security group ID attached to the EKS workers. |\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhythmictech%2Fterraform-aws-eks-cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhythmictech%2Fterraform-aws-eks-cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhythmictech%2Fterraform-aws-eks-cluster/lists"}