Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/silinternational/terraform-aws-alb

module to manage an application load balancer with security groups and default target group
https://github.com/silinternational/terraform-aws-alb

Last synced: about 1 month ago
JSON representation

module to manage an application load balancer with security groups and default target group

Awesome Lists containing this project

README

        

# Terraform Module for Application Load Balancer

This module is used to create an application load balancer along with security
groups for traffic and a default target group. It was previously published
at https://github.com/silinternational/terraform-modules/aws/alb.

## What this includes

- ALB named after `app_name` and `app_env`
- ALB target group
- HTTPS listener for ALB / Target Group

This module is published in [Terraform Registry](https://registry.terraform.io/modules/silinternational/alb/aws/latest).

## Usage Example

```hcl
module "asg" {
source = "silinternational/alb"
version = "0.1.0"

app_name = var.app_name
app_env = var.app_env
vpc_id = module.vpc.id
security_groups = [module.vpc.vpc_default_sg_id,module.cloudflare-sg.id]
subnets = [module.vpc.public_subnet_ids]
certificate_arn = data.aws_acm_certificate.name.arn
}
```