Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 1.95 KB

io.md

File metadata and controls

31 lines (27 loc) · 1.95 KB

Inputs

Name Description Type Default Required
ami The AMI to use for the instance. string "" no
ebs_volume_enabled Flag to control the ebs creation. bool false no
ebs_volume_size Size of the EBS volume in gigabytes. number 30 no
ebs_volume_type The type of EBS volume. Can be standard, gp2 or io1. string "gp2" no
environment Environment (e.g. prod, dev, staging). string "" no
iam_instance_profile The IAM Instance Profile to launch the instance with. Specified as the name of the Instance Profile. string "" no
instance_count Number of instances to launch. number 1 no
instance_tags Instance tags. map(any) {} no
instance_type The type of instance to start. Updates to this field will trigger a stop/start of the EC2 instance. string n/a yes
name Name (e.g. app or cluster). string "" no
public_key The key name to use for the instance. string "" no
repository Terraform current module repo string "https://github.com/clouddrove/terraform-aws-pritunl" no
root_block_device Customize details about the root block device of the instance. See Block Devices below for details. list(any) [] no
ssh_allowed_ip List of allowed ip. list(any) [] no
ssh_allowed_ports List of allowed ingress ports list(any) [] no
subnet_ids A list of VPC Subnet IDs to launch in. list(string) [] no
user_data (Optional) A string of the desired User Data for the ec2. string "" no
vpc_id The ID of the VPC that the instance security group belongs to. string "" no

Outputs

Name Description
instance_id The instance ID.
private_ip Private IP of instance.
tags The instance tags.