Skip to content

Terraform module will provision an EC2 Instance that is running an Apache server

License

Notifications You must be signed in to change notification settings

AjanaLarry/terraform-aws-module-hello-apache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Terraform module will provision an EC2 Instance that is running Apache.

This is not intended for production use.

terraform{

}

provider "aws" {
  region = "us-east-1"
}

module "hello_apache" {
  source = "./terraform-aws-module-hello-apache"
  vpc_id = "vpc-00DEFAULTVPC00"
  my_ip = "YOUR_IP_ADDRESS/32"
  public_key = "ssh-rsa AAAAB.../root/.ssh/terraform.pub"
  instance_type = "t2.micro"
  server_name = "Hello Apache Server"

}

output "public_ip"{
  value = module.hello_apache.public_ip
}

About

Terraform module will provision an EC2 Instance that is running an Apache server

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages