diff --git a/lib/template.js b/lib/template.js index b9c2129b..a69e05dd 100644 --- a/lib/template.js +++ b/lib/template.js @@ -159,6 +159,7 @@ module.exports = (options = {}) => { [ { Name: 'WorkTopic', Value: options.fifo ? undefined : cf.ref(prefixed('Topic')) }, { Name: 'QueueUrl', Value: cf.ref(prefixed('Queue')) }, + { Name: 'LogGroup', Value: cf.ref(prefixed('LogGroup')) }, { Name: 'writableFilesystem', Value: options.writableFilesystem }, { Name: 'maxJobDuration', Value: options.maxJobDuration }, { Name: 'Volumes', Value: mountPoints.map((m) => m.ContainerPath).join(',') }, diff --git a/test/__snapshots__/template.spec.js.snap b/test/__snapshots__/template.spec.js.snap index 3010f945..c5feb30d 100644 --- a/test/__snapshots__/template.spec.js.snap +++ b/test/__snapshots__/template.spec.js.snap @@ -956,6 +956,12 @@ Object { "Ref": "SoupQueue", }, }, + Object { + "Name": "LogGroup", + "Value": Object { + "Ref": "SoupLogGroup", + }, + }, Object { "Name": "writableFilesystem", "Value": false, @@ -2125,6 +2131,12 @@ Object { "Ref": "WatchbotQueue", }, }, + Object { + "Name": "LogGroup", + "Value": Object { + "Ref": "WatchbotLogGroup", + }, + }, Object { "Name": "writableFilesystem", "Value": false, @@ -3210,6 +3222,12 @@ Object { "Ref": "WatchbotQueue", }, }, + Object { + "Name": "LogGroup", + "Value": Object { + "Ref": "WatchbotLogGroup", + }, + }, Object { "Name": "writableFilesystem", "Value": false, @@ -4279,6 +4297,12 @@ Object { "Ref": "WatchbotQueue", }, }, + Object { + "Name": "LogGroup", + "Value": Object { + "Ref": "WatchbotLogGroup", + }, + }, Object { "Name": "writableFilesystem", "Value": false,