GithubHelp home page GithubHelp logo

pbar1 / terraform-aws-lb-linker Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 5.0 356 KB

Terraform module which assigns static IP addresses to an ALB

Home Page: https://registry.terraform.io/modules/pbar1/lb-linker/aws

License: MIT License

HCL 100.00%
terraform terraform-module aws aws-alb

terraform-aws-lb-linker's Introduction

AWS LB-Linker Terraform Module

Terraform module adapted from this AWS blog post. In short, gives you the ability to associate a static IP address with an Applicaion Load Balancer (ALB) using a Network Load Balancer (NLB). This module consists of a Lambda that periodically runs and resolves the ALB's private IP addresses and attaches them to the NLB.

Inputs

Name Description Type Default Required
alb_dns_name The full DNS name (FQDN) of the ALB. string - yes
alb_listener The traffic listener port of the ALB. string 443 no
cw_metric_flag_ip_count The controller flag that enables the CloudWatch metric of the IP address count. string true no
event_schedule_expression How often the lambda runs. For example, cron(0 20 * * ? *) or rate(5 minutes). string rate(1 minute) no
invocations_before_deregistration Then number of required Invocations before an IP address is deregistered. string 3 no
lambda_timeout The amount of time your Lambda Function has to run in seconds. string 300 no
max_lookup_per_invocation The max times of DNS look per invocation. string 50 no
name Base name to use when naming resouces. string - yes
nlb_tg_arn The ARN of the NLBs target group. string - yes
s3_bucket Bucket to track changes between Lambda invocations. string - yes
tags A map of tags that should be applied to AWS infrastructure. map - yes

Outputs

Name Description
lambda_arn -

terraform-aws-lb-linker's People

Contributors

pbar1 avatar

Stargazers

 avatar

Watchers

 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.