Skip to content

Commit

Permalink
Lowercase database subnet group name (terraform-aws-modules#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
memoryleak authored and antonbabenko committed Jan 19, 2018
1 parent c1d5143 commit 4c8f457
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 @@ -132,7 +132,7 @@ resource "aws_subnet" "database" {
resource "aws_db_subnet_group" "database" {
count = "${length(var.database_subnets) > 0 && var.create_database_subnet_group ? 1 : 0}"

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

Expand Down

0 comments on commit 4c8f457

Please sign in to comment.