Skip to content

CloudNetworkArchitect-JT/terraform-aws-apache-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Module to provision an EC2 Instance that is running Apache. Not intended for production use.

terraform {

}

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

module "apache" {
  source = ".//terraform-aws-apache-example"
  vpc_id = "vpc-000000000000000"
  my_ip = "MY_OWN_IP_ADDRESS"
  public_key = "ssh-rsa AAAAB8.."
  instance_type = "t3.micro"
  server_name = "Apache Example Server"
}

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

About

Terraform module to create AWS EC2 Server running Apache.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages