From 861793aeaf8c88e55340265ba80de5450bec333a Mon Sep 17 00:00:00 2001 From: Denis Kuznetsov Date: Thu, 13 Nov 2025 14:35:01 +0100 Subject: [PATCH] fix file_system_locations dynamic block issue --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 4518229..1c1506e 100644 --- a/main.tf +++ b/main.tf @@ -530,7 +530,7 @@ resource "aws_codebuild_project" "default" { } dynamic "file_system_locations" { - for_each = length(var.file_system_locations) > 0 ? [""] : [] + for_each = var.file_system_locations content { identifier = lookup(file_system_locations.value, "identifier", null) location = lookup(file_system_locations.value, "location", null)