aws-static-ip-nlb-alb

Adaptavist/aws-static-ip-nlb-alb/module

Terraform Module HCL MODULE
Install
module "aws-static-ip-nlb-alb" {
source = "Adaptavist/aws-static-ip-nlb-alb/module"
version = "1.0.9"
}
plain text: /constructs/tfmod-adaptavist-aws-static-ip-nlb-alb-module/install.txt
⭐ Source on GitHub 📦 Registry page
README

Overview At the moment, AWS ALBs can't be associated with elastic IPs. This module provides a way to resolve this problem by implementing the solution based on the following article: https://aws.amazon.com/blogs/networking-and-content-delivery/using-static-ip-addresses-for-application-load-balancers/ Main resources created - Public facing NLB with a set of elastic IPs, one for each public subnet - Internal ALB - S3 access log bucket for both LBs - Lambda function that is responsible for the attachment of ALB IPs to the NLB target group - S3 bucket and cloudwatch resources that accompany the lambda function above Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | alb\_sg\_id | ALB security group id | string | n/a | yes | | deletion

Inputs (9)
NameTypeDescriptionDefault
alb_sg_idstringALB security group id required
deletion_protection_enabledboolIndicates if load balancers can be deleted required
vpc_idstringVPC that will host this solution required
public_subnetslist(string)List of public subnet ids required
tagsmap(string)Map of tags that should be applied to all resources required
namestringSolution name required
private_subnetslist(string)List of private subnet ids required
max_lookup_per_invocationnumberThe max times of DNS look per invocation.50
invocations_before_deregistrationnumberThe number of required Invocations before an IP address is de-registered.3
Outputs (6)
external_nlb_dns_name
external_nlb_zone_id
external_nlb_arn
internal_alb_arn
internal_alb_dns_name
internal_alb_zone_id
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.9
Cloud MODULE
★ Stars0
Forks0
Total downloads3.4k
Inputs9
Outputs6
Submodules2
NamespaceAdaptavist
Updated