{"id":23535015,"url":"https://github.com/ripta/tf_aws_centos_ami","last_synced_at":"2026-02-05T16:31:24.561Z","repository":{"id":66442043,"uuid":"52405858","full_name":"ripta/tf_aws_centos_ami","owner":"ripta","description":"Look up CentOS AMIs from your Terraform definitions","archived":false,"fork":false,"pushed_at":"2016-02-24T01:49:08.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-28T17:33:04.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ripta.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":"2016-02-24T01:48:47.000Z","updated_at":"2023-03-13T07:22:30.000Z","dependencies_parsed_at":"2023-05-07T09:16:30.176Z","dependency_job_id":null,"html_url":"https://github.com/ripta/tf_aws_centos_ami","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ripta/tf_aws_centos_ami","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripta%2Ftf_aws_centos_ami","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripta%2Ftf_aws_centos_ami/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripta%2Ftf_aws_centos_ami/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripta%2Ftf_aws_centos_ami/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ripta","download_url":"https://codeload.github.com/ripta/tf_aws_centos_ami/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripta%2Ftf_aws_centos_ami/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29125821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T14:05:12.718Z","status":"ssl_error","status_checked_at":"2026-02-05T14:03:53.078Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-12-26T01:14:25.443Z","updated_at":"2026-02-05T16:31:24.544Z","avatar_url":"https://github.com/ripta.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `tf_aws_centos_ami`\n\nTerraform module to get CentOS AMIs, because CentOS doesn't publish the list anywhere\npublicly, and the [\"recommended\"](https://wiki.centos.org/Cloud/AWS) way to instantiate\ntheir images is through AWS MarketPlace.\n\nThis list is provided as-is, and I make no warranties about its validity or currency.\n\n## Input Variables\n\nAll input variables have default values, but we recommend specifying all of them:\n\n* `region`, e.g., `eu-central-1`;\n* `release`, e.g., `6.0` or `7.0`; and\n* `virttype`, e.g., `hvm` or `pv`.\n\nAll images are assumed to be `x86-64`.\n\n## Output Variable\n\nThere is only one output, named `ami_id`, which can be used directly on the\n`ami_id` attribute on `aws_instance` stanzas.\n\n## Example\n\n```terraform\nmodule \"centos_ami\" {\n  source = \"github.com/ripta/tf_aws_centos_ami\"\n  region = \"us-west-2\"\n  release = \"7.0\"\n  virttype = \"hvm\"\n}\n\nresource \"aws_instance\" \"web\" {\n  count = 5\n  ami = \"${module.centos_ami.ami_id}\"\n  instance_type = \"m4.large\"\n}\n```\n\n## Note\n\nThe process of updating `amis.tf.json` is painfully manual. You are welcome to\nsubmit a pull request to update said JSON. In the PR, please include the source\nURL, where you retrieved the AMI IDs, so that we can spot-check them.\n\nIf CentOS decides to publish a list of AMI IDs, PRs to automate this process is\nvery much appreciated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripta%2Ftf_aws_centos_ami","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fripta%2Ftf_aws_centos_ami","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripta%2Ftf_aws_centos_ami/lists"}