submodules/genvid/aws

A generic AWS Linux instance setup to run either as a HashiCorp node or server.

Providers

  • aws
  • template

Requirements

  • terraform >= 0.12

Inputs

cluster (string)

Unique name to avoid conflict

datacenter (string)

Consul/Nomad datacenter

instance_profile (string)

IAM instance profile to use

instance_type (string)

The type of EC2 instance to use

key_name (string)

The key name to use with the instance

namespace (string)

Deployment namespace that will regroup the clusters

private_key (string)

Your private key

server_class (string)

The type of work the server has to be initialized for

stage (string)

Deployment stage

subnet_ids (list(string))

An ordered list of subnets that can be used. Empty means all. New in version 1.24.

vpc_security_group_ids (list(string))

A list of security group IDs to be attached to the instance

ami_version (string)

Version prefix of the AMI to use (ex: 1.20.0 will match both 1.20.0 and 1.20.0.0 versions).

server_count (number)

Number of servers to instantiate

toolbox_url (string)

Genvid Toolbox Wheel URL.

Only required if you need to update the one from the AMI. An empty value indicates to not install the toolbox.

user (string)

Your user name

Outputs

consul_nodes
instance_ids
private_ips
public_ips