Skip to content

jelinn/terraform-aws-consumer-ec2-instance-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Consumer EC2 Module

This repo contains a Module to deploy a Elastic Compute Cloud (EC2) instance on AWS using Terraform.

EC2 Example

This Module works well with the following related modules:

  • Consumer ELB Module

Who maintains and approves this module?

This module is maintained by the Organization's Infrastructure Team. Email [email protected] for more info.

Version Description Security Team Approval? Approver Approval Date
v1.5 Adjusted default instance size Yes John Doe 01/01/2019
v1.4 Initial EC2 Module No N/A N/A

Usage

module "ec2_instances" {
  source = "app.terraform.io/<YOURTFEORGNAME>/consumer-ec2-instance/aws"
  version = "1.4"
  name                        = "${var.name}-ec2"
  instance_count = "${var.number_of_instances}"
}

Inputs

Name Description Type Default Required
name The name of the EC2 instance string - yes
instance_count Number of EC2 instances to create int yes

Outputs

This module contains no outputs.

Name Description
id list containing EC2 instance ids

Configurations Baked into Module

Name Description
instance type t2.micro
OS Image "ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-*"

Further Reading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%