ec2-instance
hadenlabs/ec2-instance/aws
A Terraform module to create instance ec2 on Amazon Web Services (AWS).
Install
README
       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)
| Name | Type | Description | Default |
|---|---|---|---|
| ami | string | Id of ami of aws | required |
| aws_key | string | aws key pair name | required |
| private_key | string | private key | required |
| name | string | Solution name, e.g. 'app' or 'jenkins' | required |
| rule_ingress | list(object({ from_port | list rule for security group | [] |
| enabled_docker | bool | enabled install docker | false |
| ssh_user | string | user ssh | "ubuntu" |
| ssh_port | number | port ssh | 22 |
| tags | map(string) | Additional tags (e.g. `map('BusinessUnit','XYZ')` | {} |
| instance_type | string | type instance | "t2.micro" |
Outputs (3)
instance — instance instance.public_ip — public ip.private_ip — private ip.Resources (4)
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,