Commit 7c29b247 authored by Anton Babenko's avatar Anton Babenko Committed by GitHub

Merge pull request #181 from Miyurz/fix/redshift-name-issue

Fix for the error: module.vpc.aws_redshift_subnet_group.redshift: onl…
parents 67c1e9fc 1e801064
...@@ -220,7 +220,7 @@ resource "aws_subnet" "redshift" { ...@@ -220,7 +220,7 @@ resource "aws_subnet" "redshift" {
resource "aws_redshift_subnet_group" "redshift" { resource "aws_redshift_subnet_group" "redshift" {
count = "${var.create_vpc && length(var.redshift_subnets) > 0 ? 1 : 0}" 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}" description = "Redshift subnet group for ${var.name}"
subnet_ids = ["${aws_subnet.redshift.*.id}"] subnet_ids = ["${aws_subnet.redshift.*.id}"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment