File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -178,8 +178,18 @@ resource "aws_ecs_task_definition" "ecs_task_definition" {
178178 dynamic "efs_volume_configuration" {
179179 for_each = lookup (volume. value , " efs_volume_configuration" , [])
180180 content {
181- file_system_id = lookup (efs_volume_configuration. value , " file_system_id" , null )
182- root_directory = lookup (efs_volume_configuration. value , " root_directory" , null )
181+ file_system_id = lookup (efs_volume_configuration. value , " file_system_id" , null )
182+ root_directory = lookup (efs_volume_configuration. value , " root_directory" , null )
183+ transit_encryption = lookup (efs_volume_configuration. value , " transit_encryption" , null )
184+ transit_encryption_port = lookup (efs_volume_configuration. value , " transit_encryption_port" , null )
185+
186+ dynamic "authorization_config" {
187+ for_each = lookup (efs_volume_configuration. value , " authorization_config" , null ) != null ? [efs_volume_configuration . value . authorization_config ] : []
188+ content {
189+ access_point_id = lookup (authorization_config. value , " access_point_id" , null )
190+ iam = lookup (authorization_config. value , " iam" , null )
191+ }
192+ }
183193 }
184194 }
185195 }
You can’t perform that action at this time.
0 commit comments