Commit 4c8f4578 authored by Haydar Ciftci's avatar Haydar Ciftci Committed by Anton Babenko

Lowercase database subnet group name (#57)

parent c1d51438
......@@ -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}"]
......
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