https://pulumi.com logo
#general
Title
# general
b

breezy-agency-15661

12/13/2019, 8:14 PM
Could use an advice on how to attach an additional role policy to the default policy created for an implicit lambda:
Copy code
aws.cloudwatch.onSchedule("test", "rate(1 minute)", async (event) => {
    try {
        let secret = await MYSSM.getValue("mySecret");
        console.log(secret);
        console.log(`current time: ${Date.now()}`);
    } catch (e) {
        console.log(e);
    }
});