Skip to content

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

License

Notifications You must be signed in to change notification settings

silinternational/terraform-aws-alb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Usage Example

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
}

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages