Skip to content

hashicorp-modules/nomad-lb-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Nomad Load Balancer Terraform Module

Provisions resources for a Nomad application load balancer in AWS.

Checkout examples for fully functioning examples.

Environment Variables

  • AWS_DEFAULT_REGION
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY

Input Variables

  • create: [Optional] Create Module, defaults to true.
  • name: [Optional] Name for resources, defaults to "nomad-lb-aws".
  • vpc_id: [Required] VPC ID to provision LB in.
  • cidr_blocks: [Optional] CIDR blocks to provision LB across.
  • subnet_ids: [Optional] Subnet ID(s) to provision LB across.
  • is_internal_lb: [Optional] Is an internal load balancer, defaults to true.
  • use_lb_cert: [Optional] Use certificate passed in for the LB IAM listener, "lb_cert" and "lb_private_key" must be passed in if true, defaults to false.
  • lb_cert: [Optional] Certificate for LB IAM server certificate.
  • lb_private_key: [Optional] Private key for LB IAM server certificate.
  • lb_cert_chain: [Optional] Certificate chain for LB IAM server certificate.
  • lb_ssl_policy: [Optional] SSL policy for LB, defaults to "ELBSecurityPolicy-2016-08".
  • lb_bucket: [Optional] S3 bucket override for LB access logs, lb_bucket_override be set to true if overriding.
  • lb_bucket_override: [Optional] Override the default S3 bucket created for access logs, defaults to false, lb_bucket must be set if true.
  • lb_bucket_prefix: [Optional] S3 bucket prefix for LB access logs.
  • lb_logs_enabled: [Optional] S3 bucket LB access logs enabled, defaults to true.
  • tags: [Optional] Optional list of tag maps to set on resources, defaults to empty list.

Outputs

  • nomad_lb_sg_id: Nomad load balancer security group ID.
  • nomad_tg_http_4646_arn: nomad load balancer HTTP 4646 target group.
  • nomad_tg_https_4646_arn: nomad load balancer HTTPS 4646 target group.
  • nomad_lb_dns: Nomad load balancer DNS name.

Module Dependencies

None

Authors

HashiCorp Solutions Engineering Team.

License

Mozilla Public License Version 2.0. See LICENSE for full details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages