Terraform module for deploying DLab Endpoint instance

List of variables which should be provided:

VariableTypeDescription/Value
service_base_namestringAny infrastructure value (should be unique if multiple SSN’s have been deployed before). Should be same as on ssn
vpc_idstringID of AWS VPC if you already have VPC created.
vpc_cidrstringCIDR for VPC creation. Conflicts with vpc_id. Default: 172.31.0.0/16
subnet_idstringID of AWS Subnet if you already have subnet created.
subnet_cidrstringCIDR for Subnet creation. Conflicts with subnet_id. Default: 172.31.0.0/24
amistringRequired ID of EC2 AMI. Default ubuntu 18.04.1 (debian os): “ami-08692d171e3cf02d6” (aws ami: 258751437250/ami-ubuntu-18.04-1.13.0-00-1543963388
key_namestringRequired Name of EC2 Key pair. (Existed on AWS account)
regionstringName of AWS region. Default: us-west-2
zonestringName of AWS zone. Default: a
endpoint_volume_sizeintSize of root volume in GB. Default: 30
network_typestringType of created network (if network is not existed and require creation) for endpoint. Default: public
endpoint_instance_shapestringInstance shape of Endpoint. Default: t2.medium