Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: limit aws elb name to 32 characters #48

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

frezbo
Copy link
Member

@frezbo frezbo commented Jun 27, 2024

ELB names cannot be more than 32 characters.

@@ -110,7 +110,7 @@ module "elb_k8s_elb" {
source = "terraform-aws-modules/elb/aws"
version = "~> 4.0"

name = "${var.cluster_name}-k8s-api"
name = substr("${var.cluster_name}-k8s-api", 0, 32)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How long are the cluster names?? 😅

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

talos-e2e-6aeac191-aws-nonfree-nvidia-k8s-api something like this from ci,

@frezbo
Copy link
Member Author

frezbo commented Jun 27, 2024

/m

ELB names cannot be more than 32 characters.

Signed-off-by: Noel Georgi <[email protected]>
@frezbo
Copy link
Member Author

frezbo commented Jun 27, 2024

/m

1 similar comment
@frezbo
Copy link
Member Author

frezbo commented Jun 27, 2024

/m

@talos-bot talos-bot merged commit e7f8d3e into siderolabs:main Jun 27, 2024
1 check passed
@frezbo frezbo deleted the chore/limit-aws-elb-size branch June 27, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants