Skip to content

Commit bbeae3c

Browse files
authored
Allow logging to standard workflow
1 parent 5a6644c commit bbeae3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/deploy/stepFunctions/compileIamRole.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ module.exports = {
384384
const taskStates = getTaskStates(stateMachineObj.definition.States);
385385
let iamPermissions = getIamPermissions.bind(this)(taskStates);
386386

387-
if (stateMachineObj.type === 'EXPRESS') {
387+
if (stateMachineObj.loggingConfig) {
388388
iamPermissions.push({
389389
action: 'logs:CreateLogDelivery,logs:GetLogDelivery,logs:UpdateLogDelivery,logs:DeleteLogDelivery,logs:ListLogDeliveries,logs:PutResourcePolicy,logs:DescribeResourcePolicies,logs:DescribeLogGroups',
390390
resource: '*',

0 commit comments

Comments
 (0)