{"id":16366089,"url":"https://github.com/captn3m0/terraform-ignition-github-team-ssh-users","last_synced_at":"2026-05-09T19:43:33.921Z","repository":{"id":52419929,"uuid":"171539506","full_name":"captn3m0/terraform-ignition-github-team-ssh-users","owner":"captn3m0","description":"  Generate a ignition config to create multiple users from a github team. SSH Keys for all users are picked up from GitHub.","archived":false,"fork":false,"pushed_at":"2021-04-29T19:35:03.000Z","size":5,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-31T01:27:35.556Z","etag":null,"topics":["auto","aws","cloud-init","coreos","github","ignition","ssh","ssh-users","team","terraform","usersync"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/captn3m0/github-team-ssh-users/ignition/","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/captn3m0.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":"2019-02-19T19:53:22.000Z","updated_at":"2019-03-25T19:04:23.000Z","dependencies_parsed_at":"2022-08-29T00:03:36.443Z","dependency_job_id":null,"html_url":"https://github.com/captn3m0/terraform-ignition-github-team-ssh-users","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captn3m0%2Fterraform-ignition-github-team-ssh-users","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captn3m0%2Fterraform-ignition-github-team-ssh-users/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captn3m0%2Fterraform-ignition-github-team-ssh-users/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captn3m0%2Fterraform-ignition-github-team-ssh-users/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/captn3m0","download_url":"https://codeload.github.com/captn3m0/terraform-ignition-github-team-ssh-users/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239826310,"owners_count":19703460,"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":["auto","aws","cloud-init","coreos","github","ignition","ssh","ssh-users","team","terraform","usersync"],"created_at":"2024-10-11T02:45:18.914Z","updated_at":"2026-02-17T03:30:15.739Z","avatar_url":"https://github.com/captn3m0.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-ignition-github-team-ssh-users\n\nGenerate a ignition config to create multiple users from a github team. SSH Keys for all users are picked up from GitHub. This can be used to automate creation of user accounts on your servers by using their SSH keys that are already pushed to GitHub.\n\nThe user list is picked up by taking a github team under the organization.\n\nThe flow is:\n\n```\nINPUT         -\u003e -------- -\u003e OUTPUT\n[GitHub Team] -\u003e [Module] -\u003e [Ignition config]\n```\n\nSee the module input and output variables at either [Terraform Registry][reg] or [MODULES.md](MODULES.md)\n\n# Usage\n\n```hcl\nmodule \"ignition\" {\n\tsource    = \"captn3m0/github-team-ssh-users/ignition\"\n\tversion   = \"1.0.0\"\n\tteam_slug = \"sshusers\"\n}\n\n// The return value from this is a userdata blob, so you can either\n// upload it to S3 and then append the S3 URL to your userdata, like:\nresource \"aws_s3_bucket_object\" \"s3\" {\n\tkey     = \"users.json\"\n\tbucket  = \"ignition-bucket\"\n\tcontent = \"${module.ignition.rendered}\"\n}\n\ndata \"ignition_config\" {\n\t// Rest of your config goes here\n\tsystemd = []\n\t// Append these users to the config\n\tappend {\n\t\tsource       = \"s3://${aws_s3_bucket_object.bucket}/${aws_s3_bucket_object.key}\"\n\t\tverification = \"sha512-${sha512(module.ignition.rendered)}\"\n\t}\n}\n\n// Or alternatively, you may use the source/verification outputs:\ndata \"ignition_config\" {\n\t// Rest of your config goes here\n\tsystemd = []\n\t// Append these users to the config\n\tappend {\n\t\tsource       = \"${module.ignition.source}\"\n\t\tverification = \"${module.ignition.verification}\"\n\t}\n}\n\n// You'll need to setup your GitHub provider for this to work:\nprovider \"github\" {\n\ttoken        = \"${var.github_token}\"\n\torganization = \"your-organization-name\"\n}\n```\n\nOr alternatively, you can\n\n# License\n\nLicensed under the [MIT License](https://nemo.mit-license.org/). See LICENSE file for details.\nCopyright 2019 Abhay Rana\n\n[reg]: https://registry.terraform.io/modules/captn3m0/github-team-ssh-users/ignition/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptn3m0%2Fterraform-ignition-github-team-ssh-users","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptn3m0%2Fterraform-ignition-github-team-ssh-users","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptn3m0%2Fterraform-ignition-github-team-ssh-users/lists"}