From 0d3f93f1931c24e7cbb0085eb121ca2b10a249b4 Mon Sep 17 00:00:00 2001 From: Alejandro Garrido Mota Date: Tue, 30 Mar 2021 11:30:19 +0100 Subject: [PATCH] Settings resouce as a list --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 17af6de..063e75c 100644 --- a/main.tf +++ b/main.tf @@ -64,7 +64,7 @@ resource "aws_kms_alias" "alias" { resource "aws_db_subnet_group" "db_subnet" { count = var.replicate_source_db != "" ? 0 : 1 name = local.identifier - subnet_ids = data.aws_subnet_ids.private + subnet_ids = [data.aws_subnet_ids.private] tags = { business-unit = var.business-unit