Skip to content

Commit

Permalink
feat: added acm module and new github-action
Browse files Browse the repository at this point in the history
  • Loading branch information
theprashantyadav committed Jul 20, 2023
1 parent d29f980 commit 2cf0e18
Showing 1 changed file with 37 additions and 50 deletions.
87 changes: 37 additions & 50 deletions README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,15 @@ github_repo: clouddrove/terraform-aws-alb

# Badges to display
badges:
- name: "Terraform"
image: "https://img.shields.io/badge/Terraform-v1.1.7-green"
url: "https://www.terraform.io"
- name: "Licence"
image: "https://img.shields.io/badge/License-APACHE-blue.svg"
url: "LICENSE.md"
- name: "Latest Release"
image: "https://img.shields.io/github/release/clouddrove/terraform-aws-alb.svg"
url: "https://github.com/clouddrove/terraform-aws-alb/releases/latest"
- name: "tfsec"
image: "https://github.com/clouddrove/terraform-aws-alb/actions/workflows/tfsec.yml/badge.svg"
url: "https://github.com/clouddrove/terraform-aws-alb/actions/workflows/tfsec.yml"
- name: "static-checks"
image: "https://github.com/clouddrove/terraform-aws-alb/actions/workflows/terraform.yml/badge.svg"
url: "https://github.com/clouddrove/terraform-aws-alb/actions/workflows/terraform.yml"

- name: "Licence"
image: "https://img.shields.io/badge/License-APACHE-blue.svg"
url: "LICENSE.md"

# description of this project
description: |-
Expand All @@ -44,27 +40,24 @@ usage : |-
```hcl
module "alb" {
source = "clouddrove/alb/aws"
version = "1.3.0"
version = "1.4.0"
name = "alb"
enable = true
internal = true
load_balancer_type = "application"
instance_count = module.ec2.instance_count
security_groups = [module.ssh.security_group_ids, module.http_https.security_group_ids]
subnets = module.public_subnets.public_subnet_id
target_id = module.ec2.instance_id
vpc_id = module.vpc.vpc_id
listener_certificate_arn = module.acm.arn
enable_deletion_protection = false
with_target_group = true
target_id = module.ec2.instance_id
vpc_id = module.vpc.vpc_id
https_enabled = true
http_enabled = true
https_port = 443
listener_type = "forward"
listener_certificate_arn = "arn:aws:acm:eu-west-1:924144197303:certificate/0418d2ba-91f7-4196-991b-28b5c60cd4cf"
target_group_port = 80
https_enabled = true
http_enabled = true
https_port = 443
listener_type = "forward"
target_group_port = 80
target_groups = [
{
backend_protocol = "HTTP"
Expand All @@ -91,28 +84,24 @@ usage : |-
```hcl
module "nlb" {
source = "clouddrove/alb/aws"
version = "1.3.0"
version = "1.4.0"
name = "nlb"
enable = true
internal = true
load_balancer_type = "network"
instance_count = module.ec2.instance_count
subnets = module.public_subnets.public_subnet_id
target_id = module.ec2.instance_id
vpc_id = module.vpc.vpc_id
enable_deletion_protection = false
with_target_group = true
target_id = module.ec2.instance_id
vpc_id = module.vpc.vpc_id
http_tcp_listeners = [
{
port = 80
protocol = "TCP"
target_group_index = 0
},
]
target_groups = [
{
backend_protocol = "TCP"
Expand All @@ -132,33 +121,31 @@ usage : |-
```hcl
module "clb" {
source = "clouddrove/alb/aws"
version = "1.3.0"
name = "clb"
load_balancer_type = "classic"
clb_enable = true
internal = true
target_id = module.ec2.instance_id
security_groups = [module.ssh.security_group_ids, module.http_https.security_group_ids]
subnets = module.public_subnets.public_subnet_id
with_target_group = true
version = "1.4.0"
name = "clb"
load_balancer_type = "classic"
clb_enable = true
internal = true
target_id = module.ec2.instance_id
security_groups = [module.ssh.security_group_ids, module.http_https.security_group_ids]
subnets = module.public_subnets.public_subnet_id
with_target_group = true
listeners = [
{
lb_port = 22000
lb_protocol = "TCP"
instance_port = 22000
instance_protocol = "TCP"
ssl_certificate_id = null
lb_port = 22000
lb_protocol = "TCP"
instance_port = 22000
instance_protocol = "TCP"
ssl_certificate_id = null
},
{
lb_port = 4444
lb_protocol = "TCP"
instance_port = 4444
instance_protocol = "TCP"
ssl_certificate_id = null
lb_port = 4444
lb_protocol = "TCP"
instance_port = 4444
instance_protocol = "TCP"
ssl_certificate_id = null
}
]
health_check_target = "TCP:4444"
health_check_timeout = 10
health_check_interval = 30
Expand Down

0 comments on commit 2cf0e18

Please sign in to comment.