GithubHelp home page GithubHelp logo

mitlibraries / tf-mod-alb Goto Github PK

View Code? Open in Web Editor NEW
0.0 8.0 0.0 16 KB

Terraform module to provision an Application Load Balancer

License: Apache License 2.0

HCL 100.00%
terraform terraform-modules terraform-aws

tf-mod-alb's Introduction

Application Load Balancer Module

This module provisions an Application Load Balancer, with default listeners and ALB target in AWS.

What's Created

  • An Application Load Balancer (ALB)

Additional Info

Modified from here

To Do:

  • Explore/Enable access logs and forwarding to Logz.io

Input Variables

Name Description Type Default Required
access_logs_enabled A boolean flag to enable/disable access_logs string true no
access_logs_prefix The S3 bucket prefix string " no
access_logs_region The region for the access_logs S3 bucket string us-east-1 no
certificate_arn The ARN of the default SSL certificate for HTTPS listener string " no
cross_zone_load_balancing_enabled A boolean flag to enable/disable cross zone load balancing string true no
deletion_protection_enabled A boolean flag to enable/disable deletion protection for ALB string false no
deregistration_delay The amount of time to wait in seconds before changing the state of a deregistering target to unused string 15 no
health_check_healthy_threshold The number of consecutive health checks successes required before considering an unhealthy target healthy string 2 no
health_check_interval The duration in seconds in between health checks string 15 no
health_check_matcher The HTTP response codes to indicate a healthy check string 200-399 no
health_check_path The destination for the health check request string / no
health_check_timeout The amount of time to wait in seconds before failing a health check request string 10 no
health_check_unhealthy_threshold The number of consecutive health check failures required before considering the target unhealthy string 2 no
http2_enabled A boolean flag to enable/disable HTTP/2 string true no
http_enabled A boolean flag to enable/disable HTTP listener string true no
http_ingress_cidr_blocks List of CIDR blocks to allow in HTTP security group list <list> no
http_ingress_prefix_list_ids List of prefix list IDs for allowing access to HTTP ingress security group list <list> no
http_port The port for the HTTP listener string 80 no
https_enabled A boolean flag to enable/disable HTTPS listener string false no
https_ingress_cidr_blocks List of CIDR blocks to allow in HTTPS security group list <list> no
https_ingress_prefix_list_ids List of prefix list IDs for allowing access to HTTPS ingress security group list <list> no
https_port The port for the HTTPS listener string 443 no
idle_timeout The time in seconds that the connection is allowed to be idle string 60 no
internal A boolean flag to determine whether the ALB should be internal string false no
ip_address_type The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 and dualstack. string ipv4 no
name Solution name, e.g. app string - yes
security_group_ids A list of additional security group IDs to allow access to ALB list <list> no
ssl_policy Predefined security policy for HTTPS/SSL Listeners string ELBSecurityPolicy-2016-08 no
subnet_ids A list of subnet IDs to associate with ALB list - yes
tags Additional tags (e.g. map(BusinessUnit,XYZ`) map <map>\ | no
vpc_id VPC ID to associate with ALB string - yes

Outputs

Name Description
alb_arn The ARN of the ALB
alb_arn_suffix The ARN suffix of the ALB
alb_dns_name DNS name of ALB
alb_name The ARN suffix of the ALB
alb_zone_id The ID of the zone which ALB is provisioned
default_target_group_arn The default target group ARN
http_listener_arn The ARN of the HTTP listener
https_listener_arn The ARN of the HTTPS listener
listener_arns A list of all the listener ARNs
security_group_id The security group ID of the ALB

tf-mod-alb's People

Contributors

dornera avatar vab avatar

Watchers

James Cloos avatar  avatar heathermarie avatar Rich Wenger avatar Carl Jones avatar Christine Quirion avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.