From 3bda3fca46941a7eb4d367fd6cdd8f203366217e Mon Sep 17 00:00:00 2001 From: robertsweetman Date: Mon, 9 Oct 2023 17:44:43 +0100 Subject: [PATCH] input expects list --- modules/imagebuilder/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imagebuilder/main.tf b/modules/imagebuilder/main.tf index c7c8fd72..78b769d3 100644 --- a/modules/imagebuilder/main.tf +++ b/modules/imagebuilder/main.tf @@ -93,7 +93,7 @@ resource "aws_imagebuilder_infrastructure_configuration" "this" { instance_profile_name = local.core_shared_services.imagebuilder_mp_tfstate.image_builder_profile description = var.description instance_types = var.infrastructure_configuration.instance_types - security_group_ids = local.core_shared_services.repo_tfstate.image_builder_security_group_id.non_live_data + security_group_ids = tolist([local.core_shared_services.repo_tfstate.image_builder_security_group_id.non_live_data]) subnet_id = local.core_shared_services.repo_tfstate.non_live_private_subnet_ids[0] terminate_instance_on_failure = true tags = local.tags