Skip to content

onaio/terraform-aws-ec2-instance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform - AWS EC2 Instance Module Build Status

Use this module to create EC2 instances.

Check variables.tf for a list of variables that can be set for this module.

Usage

module "ec2-instance" {
  source = "github.com/onaio/terraform-aws-ec2-instance"

  region                                = var.region
  env                                   = var.env
  vpc_id                                = var.vpc_id
  project                               = var.project
  project_id                            = var.project_id
  owner                                 = var.owner
  end_date                              = var.end_date
  ssh_key_name                          = var.ssh_key_name
  ssh_user                              = var.ssh_user
  deployed_app                          = var.deployed_app
  devops_client                         = var.devops_client
  server_monitoring_playbook            = var.server_monitoring_playbook
  server_count                          = var.server_count
  server_ami                            = var.server_ami
  server_instance_type                  = var.server_instance_type
  server_volume_size                    = var.server_volume_size
  associate_public_ip_address           = var.associate_public_ip_address
  delete_volume_on_instance_termination = var.delete_volume_on_instance_termination
  vault_password_file                   = var.vault_password_file
}

About

Provisions EC2 instances on AWS using Terraform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages