ec2-instance

hadenlabs/ec2-instance/aws

Terraform Module HCL AWS

A Terraform module to create instance ec2 on Amazon Web Services (AWS).

Install
module "ec2-instance" {
source = "hadenlabs/ec2-instance/aws"
version = "0.2.0"
}
plain text: /constructs/tfmod-hadenlabs-ec2-instance-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

![Latest Release](https://github.com/hadenlabs/terraform-aws-ec2-instance/releases) ![Lint](https://github.com/hadenlabs/terraform-aws-ec2-instance/actions?workflow=lint-code) ![CI](https://github.com/hadenlabs/terraform-aws-ec2-instance/actions?workflow=ci) ![Test](https://github.com/hadenlabs/terraform-aws-ec2-instance/actions?workflow=test) ![pre-commit](https://github.com/pre-commit/pre-commit) ![Conventional Commits](https://conventionalcommits.org) ![KeepAChangelog](https://keepachangelog.com) terraform-aws-ec2-instance terraform-aws-ec2-instance for project Requirements This is a list of plugins that need to be installed previously to enjoy all the goodies of this configuration: - Pyenv - Docker - python - taskfile Usage ``hcl module "key" { source = "hadenlabs/key-pair/aws" version

Inputs (10)
NameTypeDescriptionDefault
amistringId of ami of aws required
aws_keystringaws key pair name required
private_keystringprivate key required
namestringSolution name, e.g. 'app' or 'jenkins' required
rule_ingresslist(object({ from_port list rule for security group[]
enabled_dockerboolenabled install dockerfalse
ssh_userstringuser ssh"ubuntu"
ssh_portnumberport ssh22
tagsmap(string)Additional tags (e.g. `map('BusinessUnit','XYZ')`{}
instance_typestringtype instance"t2.micro"
Outputs (3)
instance — instance instance.
public_ip — public ip.
private_ip — private ip.
Resources (4)
aws_instanceaws_security_groupaws_security_group_rulenull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version0.2.0
Cloud AWS
★ Stars0
Forks3
Total downloads5.2k
Inputs10
Outputs3
Resources4
Examples1
LicenseLGPL-3.0
Namespacehadenlabs
Updated