{"id":15877751,"url":"https://github.com/linguinecode/terraform-aws-ec2-instance","last_synced_at":"2026-02-27T12:03:47.702Z","repository":{"id":73392442,"uuid":"155439044","full_name":"LinguineCode/terraform-aws-ec2-instance","owner":"LinguineCode","description":"A terraform module that creates an EC2 instance with Simple Systems Manager (SSM) support enabled","archived":false,"fork":false,"pushed_at":"2018-10-30T20:54:52.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T15:16:10.830Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/LinguineCode.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-30T18:47:08.000Z","updated_at":"2018-10-30T20:53:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"267d284f-4a06-48b4-b516-e089620f31e0","html_url":"https://github.com/LinguineCode/terraform-aws-ec2-instance","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinguineCode%2Fterraform-aws-ec2-instance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinguineCode%2Fterraform-aws-ec2-instance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinguineCode%2Fterraform-aws-ec2-instance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinguineCode%2Fterraform-aws-ec2-instance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinguineCode","download_url":"https://codeload.github.com/LinguineCode/terraform-aws-ec2-instance/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246726114,"owners_count":20823737,"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-10-06T02:03:34.465Z","updated_at":"2026-02-27T12:03:47.645Z","avatar_url":"https://github.com/LinguineCode.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-ec2-instance\n\nA terraform module that creates an EC2 instance according to best practices. At this time, the meaning of _best practices_ is limited to enabling SSM support.\n\n## Outputs\n\nSupported module outputs are:\n  1. `instance_iam_role` (string)\n  1. `instance_id` (string)\n  1. `instance_private_ip` (string)\n\n## Usage\n\n```\ndata \"aws_ami\" \"bitnami-mongodb\" {\n  most_recent = true\n\n  filter {\n    name   = \"name\"\n    values = [\"bitnami-mongodb-4.0.2-0-linux-ubuntu-16.04-x86_64-hvm-ebs-mp-*\"]\n  }\n\n  owners = [\"679593333241\"] # Bitnami\n}\n\nmodule \"mongodb\" {\n  source  = \"github.com/seanscottking/terraform-aws-ec2-instance.git\"\n\n  ami                    = \"${data.aws_ami.bitnami-mongodb.id}\"\n  type                   = \"t2.micro\"\n  subnet_id              = \"${element(module.vpc.private_subnet_ids[\"private\"],0)}\"\n  userdata               = \"${data.template_file.mongodb-firstboot.rendered}\"\n  vpc_security_group_ids = [\"${module.vpc.default_security_group_id}\"]\n\n  tags = {\n    Name = \"${local.name_tag}-mongodb\"\n  }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinguinecode%2Fterraform-aws-ec2-instance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinguinecode%2Fterraform-aws-ec2-instance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinguinecode%2Fterraform-aws-ec2-instance/lists"}