alb
bryan-rhm/alb/aws
Terraform module to provision application load balancers/network load balancers
Install
README
Terraform Load Balancer module Basic usage example `` module "alb" { source = "github.com/bryan-rhm/terraform-aws-alb?ref=v1.0.0" name = "my-lb" ssl_policy = var.alb_ssl_policy subnet_ids = var.public_subnet_ids security_groups = ["sg-12345"] ssl_certificate_arn = var.acm_certificate_arn } ` Requirements | Name | Version | |------|---------| | terraform | >= 0.13.4 | | aws | >= 3.43.0 | Providers | Name | Version | |------|---------| | aws | >= 3.43.0 | Modules No modules. Resources | Name | Type | |------|------| | aws_lb.alb | resource | | aws_lb_listener.http_listener | resource | | aws_lb_listener.https_listener | resource | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | access\_logs\_bucket\_name | The S3 bucket name to s
Inputs (14)
| Name | Type | Description | Default |
|---|---|---|---|
| access_logs_bucket_name | string | The S3 bucket name to store the logs in. | required |
| access_logs_prefix | string | The S3 bucket prefix. Logs are stored in the root if not configured. | required |
| ssl_certificate_arn | string | ARN of the default SSL server certificate. | required |
| name | string | Name of the load balancer | required |
| subnet_ids | list(string) | List of ids for all the subnets that will be attached to the ALB. At least two s | required |
| enable_deletion_protection | bool | If true, deletion of the load balancer will be disabled via the AWS API. This wi | false |
| security_groups | list(string) | List of ids for all the security groups that will be assigned to the ALB. | [] |
| tags | map(any) | A map of tags to assign to the ALB. If configured with a provider default_tags c | {} |
| ssl_policy | string | Name of the SSL Policy for the HTTPS listener. | "ELBSecurityPolicy-2016-08" |
| drop_invalid_header_fields | bool | Indicates whether HTTP headers with header fields that are not valid are removed | true |
| internal_alb | bool | Defines if the ALB will be internal or external. If internal, it can only use ip | false |
| loadbalancer_type | string | Defines the type of loadbalancer | "application" |
| enable_cross_zone_load_balancing | bool | If true, cross-zone load balancing of the load balancer will be enabled. This is | false |
| idle_timeout | number | Sets the time in seconds that the connection is allowed to be idle for the ALB. | 60 |
Outputs (1)
output — alb, http and https listeners attributes Resources (2)
Topics & Tags
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,