From a3c529209b3a052e2985905c04800ab6ce562381 Mon Sep 17 00:00:00 2001 From: Sam Clinckspoor Date: Tue, 20 Feb 2018 12:02:49 +0100 Subject: [PATCH] use a list for sg --- efs/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/efs/main.tf b/efs/main.tf index 3540f08..5a984a7 100644 --- a/efs/main.tf +++ b/efs/main.tf @@ -12,7 +12,7 @@ resource "aws_efs_mount_target" "efs" { file_system_id = "${aws_efs_file_system.efs.id}" count = "${var.subnet_amount}" subnet_id = "${element(var.subnets, count.index)}" - security_groups = "${var.security_groups}" + security_groups = ["${var.security_groups}"] } data "template_file" "efs" {