Terraform module which creates EC2 instance(s) on AWS.
These types of resources are supported:
- VPC
- Subnet
- Route
- Route table
- Internet Gateway
- NAT Gateway
- VPC Endpoint (S3 and DynamoDB)
- RDS DB Subnet Group
- ElastiCache Subnet Group
module "ec2" { source = "terraform-aws-modules/ec2/aws" name = "my-cluster" count = 5 ami = "ami-ebd02392" instance_type = "t2.micro" key_name = "user1" monitoring = true vpc_security_group_ids = ["sg-12345678"] tags = { Terraform = "true" Environment = "dev" } }Module managed by Anton Babenko.
Apache 2 Licensed. See LICENSE for full details.