Skip to content

Commit

Permalink
set security_group_ids to [0] value
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Oct 9, 2023
1 parent 9e63dff commit 96256f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/imagebuilder/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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]
security_group_ids = [local.core_shared_services.repo_tfstate.image_builder_security_group_id[0]]
subnet_id = local.core_shared_services.repo_tfstate.non_live_private_subnet_ids[0]
terminate_instance_on_failure = true
tags = local.tags
Expand Down

0 comments on commit 96256f6

Please sign in to comment.