nomad-starter
hashicorp/nomad-starter/aws
Terraform Module for Provisioning Nomad on AWS
Nomad AWS Module This is a Terraform module for provisioning a Nomad Cluster on AWS. This cluster utilizes Consul as recommended by the Nomad Reference Architecture. The default is set to 5 servers and 3 clients. About This Module This module implements the Nomad Reference Architecture. It is created and maintained by HashiCorp to exist as a canonical implementation of a Nomad cluster in the Amazon Web Services cloud, and enforces this prescriptive methodology through the use of default values corresponding to the recommendations of our Enterprise Architects. For more advanced practitioners requiring a wider variety of configurable options, please see Terraform AWS Nomad Module. How to Use This Module - Create a Terraform configuration that pulls in the module and specifies values of the r
| Name | Type | Description | Default |
|---|---|---|---|
| consul_version | string | Consul version | required |
| nomad_version | string | Nomad version | required |
| allowed_inbound_cidrs | list(string) | List of CIDR blocks to permit inbound Nomad access from | required |
| vpc_id | string | VPC ID | required |
| owner | string | value of owner tag on EC2 instances | required |
| name_prefix | string | prefix used in resource names | required |
| nomad_clients | string | number of Nomad instances | "3" |
| consul_config | map | HCL Object with additional configuration overrides supplied to the consul server | {} |
| public_ip | bool | should ec2 instance have public ip? | false |
| bootstrap | bool | Initial Bootstrap configurations | true |
| nomad_servers | string | number of Nomad instances | "5" |
| instance_type | string | Instance type for Nomad instances | "m5.large" |
| enable_connect | bool | Whether Consul Connect should be enabled on the cluster | false |
| key_name | string | SSH key name for Nomad instances | "default" |
| consul_cluster_version | string | Custom Version Tag for Upgrade Migrations | "0.0.1" |