Skip to content

Terraform module to create an AWS Application Load Balancer.

License

Notifications You must be signed in to change notification settings

yegorski/terraform-aws-alb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform AWS Application Load Balancer

Terraform module to create an AWS Application Load Balancer.

You can set up VPC and subnets with terraform-aws-account-scaffolding.

Usage

module "alb" {
  source = "git::https://github.com/yegorski/terraform-aws-alb.git?ref=master"

  name     = "APP_NAME"
  app_port = 5000

  security_group_id = "${aws_security_group.alb.id}"
  subnet_ids        = "${data.aws_subnet_ids.private.ids}"
  vpc_id            = "${data.terraform_remote_state.account.vpc_id}"
  region            = "AWS_REGION"

  tags = "${var.tags}"
}

Notes

Pass certificate_arn to create HTTPS listener and an HTTP to HTTPS redirect.

About

Terraform module to create an AWS Application Load Balancer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages