{"id":13795938,"url":"https://github.com/terraform-community-modules/tf_aws_virttype","last_synced_at":"2025-05-13T00:30:33.901Z","repository":{"id":30223234,"uuid":"33774300","full_name":"terraform-community-modules/tf_aws_virttype","owner":"terraform-community-modules","description":"Lookup the virtualization types (hvm or pv) supported for AWS instance types","archived":false,"fork":false,"pushed_at":"2016-09-16T20:48:57.000Z","size":10,"stargazers_count":5,"open_issues_count":0,"forks_count":8,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-03T23:06:02.464Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"matiasdecarli/bench","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terraform-community-modules.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-04-11T12:05:26.000Z","updated_at":"2021-02-05T06:47:57.000Z","dependencies_parsed_at":"2022-08-30T03:20:42.854Z","dependency_job_id":null,"html_url":"https://github.com/terraform-community-modules/tf_aws_virttype","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-community-modules%2Ftf_aws_virttype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-community-modules%2Ftf_aws_virttype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-community-modules%2Ftf_aws_virttype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-community-modules%2Ftf_aws_virttype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terraform-community-modules","download_url":"https://codeload.github.com/terraform-community-modules/tf_aws_virttype/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225159841,"owners_count":17430190,"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-08-03T23:01:04.341Z","updated_at":"2024-11-18T10:30:59.021Z","avatar_url":"https://github.com/terraform-community-modules.png","language":"Ruby","funding_links":[],"categories":["Community Modules"],"sub_categories":[],"readme":"# tf_aws_virttype\n\nSimple terraform module to allow you to look up the type of AMI\nyou need to use for a particular instance type.\n\nYou simply pass the module your ''instance_type'' and it outputs\nan ''prefer_hvm'' and an ''prefer_pv'',\n which will contain either 'hvm' or 'pv'.\n\nYou can then use this in your AMI lookup module to work out which\nAMI you need.\n\nData in this module is generated from:\n\n    https://github.com/powdahound/ec2instances.info/blob/master/www/instances.json\n\nUse this in your terraform code like this:\n\n    module \"virttype\" {\n        source = \"github.com/terraform-community-modules/tf_aws_virttype\"\n        instance_type = \"m3.xlarge\"\n    }\n\nAnd you can then reference:\n\n    \"${module.virttype.prefer_hvm}\"\n\nwhich will return either 'hvm' or 'pv'\n\nThe two outputs are given as some instance types support both types\nof virtualization (e.g. m3.large), and so you can express a preference\nby using one output or the other.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterraform-community-modules%2Ftf_aws_virttype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterraform-community-modules%2Ftf_aws_virttype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterraform-community-modules%2Ftf_aws_virttype/lists"}