Skip to content

rule: Name restrictions for Application and Network Load Balancers #353

@bcogan-ciena

Description

@bcogan-ciena

The following rule applies to Application and Network Load Balancers: "It can have a maximum of 32 characters, and contain only alphanumeric characters and hyphens. It must not begin or end with a hyphen, or with internal-."

Found in Step 3, point 5a in both of these docs pages:

Currently fails during plan with this error:

│ Error: "name" cannot begin with "internal-": "internal-app-ALB"
│ 
│   with module.alb.aws_lb.this[0],
│   on .terraform/modules/alb/main.tf line 8, in resource "aws_lb" "this":
│    8:   name        = var.name
│ 
╵

I have not found equivalent rule for Gateway Load Balancer naming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions