diff --git a/terraform/platforms/aws/aws.tf b/terraform/platforms/aws/aws.tf index ab1d21cf..15164ee7 100644 --- a/terraform/platforms/aws/aws.tf +++ b/terraform/platforms/aws/aws.tf @@ -18,7 +18,7 @@ resource "aws_s3_bucket" "backups" { } resource "aws_elb" "clients" { - name = "${var.name}" + name = "${replace(var.name, "/[^a-zA-Z0-9-]/", "-")}" internal = "${var.load_balancer_internal}" subnets = ["${var.subnets_ids}"]