From 247e0d113241ea9d6c02e2510d098e43c97281ce Mon Sep 17 00:00:00 2001 From: Gordon Date: Mon, 1 Apr 2024 11:58:42 -0400 Subject: [PATCH] Fix efs in ecs auth config template --- .../iac/templates/aws/ecs_task_definition/volumes.ts.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/infra/iac/templates/aws/ecs_task_definition/volumes.ts.tmpl b/pkg/infra/iac/templates/aws/ecs_task_definition/volumes.ts.tmpl index 5a4f5fd7f..2ad5c6ad5 100644 --- a/pkg/infra/iac/templates/aws/ecs_task_definition/volumes.ts.tmpl +++ b/pkg/infra/iac/templates/aws/ecs_task_definition/volumes.ts.tmpl @@ -25,7 +25,7 @@ {{- if $volume.EfsVolumeConfiguration }} efsVolumeConfiguration: { fileSystemId: {{ getVar $volume.EfsVolumeConfiguration.FileSystem }}.id, - {{- if $volume.AuthorizationConfig }} + {{- if $volume.EfsVolumeConfiguration.AuthorizationConfig }} authorizationConfig: { accessPointId: {{ getVar $volume.EfsVolumeConfiguration.AuthorizationConfig.AccessPoint }}.id, {{- if $volume.EfsVolumeConfiguration.AuthorizationConfig.Iam }} @@ -46,4 +46,4 @@ {{- end }} }, {{- end }} -] \ No newline at end of file +]