From 3dbe244145fe7e16be1868af5c2338b9a832e611 Mon Sep 17 00:00:00 2001 From: Alejandro Garrido Mota Date: Tue, 30 Mar 2021 11:32:26 +0100 Subject: [PATCH] Accesing attribute --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 063e75c..7443a06 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.ids tags = { business-unit = var.business-unit