From 4f6821c4625f2d1b24148c3cfe6a5654e6eaf227 Mon Sep 17 00:00:00 2001 From: Taylor Price Date: Sun, 1 Dec 2019 23:13:27 -0700 Subject: [PATCH] fix resource name --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index eb70dd1..cb7fd4a 100644 --- a/main.tf +++ b/main.tf @@ -5,7 +5,7 @@ resource "aws_docdb_subnet_group" "docdb" { resource "aws_docdb_cluster" "api_docdb" { cluster_identifier_prefix = var.name - db_subnet_group_name = aws_docdb_subnet_group.sn_docdb.name + db_subnet_group_name = aws_docdb_subnet_group.docdb.name db_cluster_parameter_group_name = aws_docdb_cluster_parameter_group.api_docdb.name vpc_security_group_ids = var.cluster_security_group engine = "docdb"