{"id":16728436,"url":"https://github.com/tmc/k8s-terraform-aws-ubuntu","last_synced_at":"2025-08-12T05:14:41.528Z","repository":{"id":66500240,"uuid":"46758619","full_name":"tmc/k8s-terraform-aws-ubuntu","owner":"tmc","description":"terraform provisioning of Kubernetes on AWS","archived":false,"fork":false,"pushed_at":"2015-12-17T02:03:32.000Z","size":1683,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T11:25:26.844Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-24T01:19:53.000Z","updated_at":"2022-12-20T12:14:09.000Z","dependencies_parsed_at":"2023-03-15T12:30:44.776Z","dependency_job_id":null,"html_url":"https://github.com/tmc/k8s-terraform-aws-ubuntu","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tmc/k8s-terraform-aws-ubuntu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmc%2Fk8s-terraform-aws-ubuntu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmc%2Fk8s-terraform-aws-ubuntu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmc%2Fk8s-terraform-aws-ubuntu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmc%2Fk8s-terraform-aws-ubuntu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmc","download_url":"https://codeload.github.com/tmc/k8s-terraform-aws-ubuntu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmc%2Fk8s-terraform-aws-ubuntu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270005591,"owners_count":24510939,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-12T23:10:20.364Z","updated_at":"2025-08-12T05:14:41.508Z","avatar_url":"https://github.com/tmc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Terraforming Kubernetes on AWS\n==============================\n\nStatus: upstream v1.1.3 parity\n\nThis set of terraform descriptions aims to match the result of a fairly standard AWS deployment.\n\nThe goal of this project is effectively a terraform version of:\n\n```sh\n$ export KUBERNETES_PROVIDER=aws MASTER_RESERVED_IP=auto; curl -sS https://get.k8s.io | bash\n```\n\nI will accept contributions that add HA and other aspects but would like to remain close to upstream for educational purposes.\n\n![terraform graph output](https://raw.github.com/tmc/k8s-terraform-aws-ubuntu/master/graph.png)\n\nPrerequisites\n-------------\nYou should have [terraform](https://www.terraform.io/downloads.html) installed. Your AWS_ACCESS_KEY and AWS_SECRET_ACCESS_KEY environment variables should be populated correctly.\n\nYou are expected to bring your own ssh keypair and it should be present in your current ssh-agent session.\n\n`kubectl` should be on your $PATH.\n\nUsage\n-----\nClone this repository to experiment with it.\n\nBasic invocation is controlled by the 'kube-up' target:\n```sh\nmake kube-up\n```\n\nBut this requires the input of the public key import as a keypair for the new instances so it will fail as such:\n```sh\n$ make kube-up\nterraform apply -var-file=tokens.tfvars\nThere are warnings and/or errors related to your configuration. Please\nfix these before continuing.\n\nErrors:\n\n  * 1 error(s) occurred:\n\n  * Required variable not set: aws_key_pair_pubkey\n  make: *** [kube-up] Error 1\n```\n\nSupply the contents of your public key to use in new cluster like so:\n```sh\n$ ssh-keygen -f \"~/.ssh/kube_aws_rsa\" -N ''\n$ export TF_VAR_aws_key_pair_pubkey=\"$(cat ~/.ssh/kube_aws_rsa.pub)\"\n$ ssh-add ~/.ssh/kube_aws_rsa\n$ make kube-up\n```\n\nParameters\n----------------\nSee variables.tf for full list but a few interesting ones follow:\n\nSupplying a custom Kubernetes version (currently defaults to v1.1.3)\n```sh\n$ TF_VAR_KUBE_VERSION=v1.1.3 make kube-up\n```\n\nSupplying a custom cluster identifier:\n```sh\n$ TF_VAR_CLUSTER_ID=terranetes make kube-up\n```\nThis will create a a cluster with 'terranetes' as the naming prefix and KubernetesCluster cluster name.\n\n\nCredentials\n-----------\nOn first invocation 'tokens.tfvars' is generated with some randomly generated values. Save this file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmc%2Fk8s-terraform-aws-ubuntu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmc%2Fk8s-terraform-aws-ubuntu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmc%2Fk8s-terraform-aws-ubuntu/lists"}