Skip to content

Commit

Permalink
Fix for the error: module.vpc.aws_redshift_subnet_group.redshift: onl…
Browse files Browse the repository at this point in the history
…y lowercase alphanumeric characters and hyphens allowed in name

Read more: terraform-aws-modules#180
  • Loading branch information
Mayur Nagekar committed Oct 16, 2018
1 parent 67c1e9f commit 1e80106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ resource "aws_subnet" "redshift" {
resource "aws_redshift_subnet_group" "redshift" {
count = "${var.create_vpc && length(var.redshift_subnets) > 0 ? 1 : 0}"

name = "${var.name}"
name = "${lower(var.name)}"
description = "Redshift subnet group for ${var.name}"
subnet_ids = ["${aws_subnet.redshift.*.id}"]

Expand Down

0 comments on commit 1e80106

Please sign in to comment.