{"id":24393577,"url":"https://github.com/sv222/terraform-aws-ec2","last_synced_at":"2026-04-21T22:06:30.249Z","repository":{"id":135305712,"uuid":"605268834","full_name":"sv222/terraform-aws-ec2","owner":"sv222","description":"A Terraform module for provisioning Amazon EC2 instances in a production environment.","archived":false,"fork":false,"pushed_at":"2023-02-23T20:41:41.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-19T18:44:24.848Z","etag":null,"topics":["aws","ec2","module","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sv222.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-02-22T20:04:05.000Z","updated_at":"2023-09-03T17:05:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"a5bd0ddf-d3b1-40a4-b495-00fa6d667772","html_url":"https://github.com/sv222/terraform-aws-ec2","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/sv222%2Fterraform-aws-ec2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sv222%2Fterraform-aws-ec2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sv222%2Fterraform-aws-ec2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sv222%2Fterraform-aws-ec2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sv222","download_url":"https://codeload.github.com/sv222/terraform-aws-ec2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243324268,"owners_count":20273099,"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":["aws","ec2","module","terraform"],"created_at":"2025-01-19T18:40:39.445Z","updated_at":"2025-12-28T22:45:34.383Z","avatar_url":"https://github.com/sv222.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform AWS EC2 Production Module\n\n## Description\n\nThis is a Terraform module for provisioning Amazon EC2 instances in a production environment. The module allows you to specify the AMI ID, instance type, subnet ID, security groups, and number of instances to create. It also provides an option to automatically assign public IP addresses to the instances.\n\n## Usage Example\n\nTo use this module, include the following code in your Terraform configuration:\n\n```terraform\n    module \"ec2\" {\n    source = \"github.com/sv222/terraform-aws-ec2\"\n\n    ami_id            = \"ami-0c55b159cbfafe1f0\"\n    instance_type     = \"t2.micro\"\n    subnet_id         = \"subnet-0123456789abcdef0\"\n    security_group_ids = [\"sg-0123456789abcdef0\"]\n    instance_count    = 1\n    assign_public_ip  = true\n}\n```\n\nThe above code launches a single t2.micro instance with the specified AMI ID, in the specified public subnet and security group. The assign_public_ip variable is set to true, which automatically assigns a public IP address to the instance. The output section returns the instance ID, public IP, and private IP addresses for the created instance.\n\n## Contributing\n\nFeel free to contribute to this project by submitting pull requests or reporting issues.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsv222%2Fterraform-aws-ec2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsv222%2Fterraform-aws-ec2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsv222%2Fterraform-aws-ec2/lists"}