Skip to content

Commit

Permalink
terraform/platforms/aws: allow symbols in name variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin-M committed Oct 26, 2017
1 parent e3f4620 commit 1afd878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/platforms/aws/aws.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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}"]
Expand Down

0 comments on commit 1afd878

Please sign in to comment.