Skip to content

Commit

Permalink
Merge pull request #22 from zoitech/fix/https_with_offloading
Browse files Browse the repository at this point in the history
added prefix to security group lb_name
  • Loading branch information
Geartrixy authored Jul 28, 2020
2 parents afb9522 + 3ddbb0c commit 9db1cc6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.0.4

ENHANCEMENTS:

* The security group name for "lb_group" now includes the prefix

## 1.0.3

BUG FIX:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ The following outputs are available:

```hcl
module "alb" {
source = "git::https://github.com/zoitech/terraform-aws-alb.git?ref=v1.0.3"
source = "git::https://github.com/zoitech/terraform-aws-alb.git?ref=v1.0.4"
```

## Authors
Expand Down
2 changes: 1 addition & 1 deletion security_groups.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Security group "group" for loadbalancer with no rules.
#To be used in other security group rules to specify the loadblaancer as the source.
resource "aws_security_group" "lb_group" {
name = "Group-ALB-${var.lb_name}"
name = "Group-ALB-${var.prefix}-${var.lb_name}"
description = "Attach security group with loadbalancer name to loadbalancer with no rules"
vpc_id = var.vpc_id
}
Expand Down

0 comments on commit 9db1cc6

Please sign in to comment.