sst / ion

❍ — a new engine for SST
https://ion.sst.dev
MIT License
1.07k stars 118 forks source link

Allow to disable cloudwatch logs when configuring lambdas #479

Open yyaskriloff opened 1 month ago

yyaskriloff commented 1 month ago

I'm currently working on a project that's using axiom for logging. (They say to disable cloud watch logs when trying there were some errors I assume it's because of this but either way it doesn't matter). Therefore making cloud watch logs redundant. I could set retention period to 1 day but it would be nice to be able do disable them all together.

yyaskriloff commented 1 month ago

Something like

        const AdsConcater = new sst.aws.Function('AdsConcater', {
            handler: 'packages/functions/src/adsConcater.handler',
            layers: [axiomLoggingLayer],
            logging: false
        })