From ddb2b5ed16ca7e4842be286af7b4792fc16dfecb Mon Sep 17 00:00:00 2001 From: robertsweetman Date: Mon, 9 Oct 2023 17:27:42 +0100 Subject: [PATCH] get string --- 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..f811386c 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 = values(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