Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
platform/aws: Remove 'workers' from target group name
Browse files Browse the repository at this point in the history
Target group name length is limited to 32 characters. We should keep
the name short as possible to accommodate clusters with long names,
and in addition the word "workers" doesn't add any meaning here.
  • Loading branch information
johananl committed Apr 27, 2020
1 parent 32f83eb commit bd8b9c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ resource "aws_lb_listener" "ingress-https" {
}

resource "aws_lb_target_group" "workers-http" {
name = "${var.cluster_name}-${var.pool_name}-workers-http"
name = "${var.cluster_name}-${var.pool_name}-http"
vpc_id = var.vpc_id
target_type = "instance"

Expand All @@ -44,7 +44,7 @@ resource "aws_lb_target_group" "workers-http" {
}

resource "aws_lb_target_group" "workers-https" {
name = "${var.cluster_name}-${var.pool_name}-workers-https"
name = "${var.cluster_name}-${var.pool_name}-https"
vpc_id = var.vpc_id
target_type = "instance"

Expand Down
8 changes: 4 additions & 4 deletions pkg/assets/generated_assets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bd8b9c8

Please sign in to comment.