Hi, did something change with the 'magic lambda creations'? I Am pretty sure those used to create a log group in the past (like 1-2 months ago)
this function doesn't get its own log group created by default
const test = aws.cloudwatch.onSchedule(
test-lambda-${env}
,
cron(* * * ? * *)
, (e) => {
JSON.stringify(e)
})
even if I create the log group by myself later on in pulumi I then get
Your function doesn't have permission to write to Amazon CloudWatch Logs. To view logs, add the AWSLambdaBasicExecutionRole managed policy to its execution role. Open the IAM console