Skip to content

Terraform Module to run an ec2 instance that is running Apache

License

Notifications You must be signed in to change notification settings

itisaby/terraform-aws-apache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Module to run an ec2 instance that is running Apache

Not intended to be used in production

terraform {

}


provider "aws" {
  # Configuration options
  region = "us-east-1"
}

module "apache" {
  source        = ".//terraform-aws-apache-example"
  vpc_id        = "vpc-VPC_ID"
  instance_type = "t2.micro"
  public_key    = "ssh-rsa AAAAAA...."
  server_name = "apache-server"
}

output "name" {
  value = module.apache.public_ip
}
  

About

Terraform Module to run an ec2 instance that is running Apache

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages