Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/silinternational/terraform-aws-alb
- Owner: silinternational
- License: mit
- Created: 2024-08-15T12:32:35.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-10T12:14:43.000Z (3 months ago)
- Last Synced: 2024-09-10T13:48:37.802Z (3 months ago)
- Language: HCL
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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 GroupThis 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
}
```