Skip to content

mail2sandeepd/terraform-aws-ec2-s3-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform module for creating EC2 Instance

Version: v1.0.0 Release date: 29-Jul-2021

Example: Use it as modules:

module "server" { source = "/data/Gagandeep/app3" ami = "ami-00399ec92321828f5" } or you can passon parameter for Instance type as well:

module "server2" { source = "/data/Gagandeep/app3" i_type = "t2.nano" }

output "IP" { value = module.server2.PUBLIC_IP }

INPUT variables: ami //AMI ID for AWS Instance i_type //Instance type for aws i.e. t2.

Output Variable: PUBLIC_IP //public IP of created server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages