Skip to content

devops-terraform-aws/ec2-instance-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

Name Version
terraform >= 0.13.1
aws >= 4.20.0

Providers

Name Version
aws >= 4.20.0

Modules

No modules.

Resources

Name Type
aws_instance.instance resource

Inputs

Name Description Type Default Required
ami AMI to use for the instance. string n/a yes
instance_type Instance type to use for the instance. Updates to this field will trigger a stop/start of the EC2 instance. string n/a yes
key_name Key name of the Key Pair to use for the instance. string n/a yes
name The name to assign to the resource. string n/a yes
region Specify the region to for resources to be created. string n/a yes
security_groups List of security groups to associate with. list(string) n/a yes
user_data User data to provide when launching the instance. Do not pass gzip-compressed data via this argument. string n/a yes

Outputs

Name Description
ip_address The public IP address from the EC2 instance.
tags The Names of the EC2 instance

About

Virtual Machine Module

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages